-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils.rs: add `rpmostreecxx::deduplicate_tmpfiles_entries(tmprootfs_d…
…fd)` to remove duplicate tmpfiles entries With Jonathan's suggestion: from rpmostree_context_assemble(), we call a function like `rpmostreecxx::deduplicate_tmpfiles_entries(tmprootfs_dfd)`, which scans the dropins, sorts them into two `HashMaps` and then unlink all the `pkg-*` files and create a single `pkg-rpm-ostree-autovar.conf` (re-using the same prefix ensures that this same logic works client-side). See #26 (comment) Fixes #26
- Loading branch information
1 parent
066fa29
commit 7ce3728
Showing
5 changed files
with
128 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters