-
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.
core: Maintain /usr/etc as /etc when running scripts
In preparation for running in default Docker permissions where we can `chroot()` and `makedev()` but not e.g. create bind mounts, move `/usr/etc` to `/etc` when running scripts. The script processing is also entangled with our passwd/group file handling, so change those functions called from the core too. It's tempting to basically maintain `/usr/etc` as `/etc` all the way from immediately after checkout to just before commit. We can't change how we do imports now; perhaps importing RPMs into ostree as `usr/etc` was just a mistake in retrospect, but oh well. Closes: #1592 Approved by: jlebon
- Loading branch information
1 parent
51e90ea
commit 25b6c59
Showing
5 changed files
with
116 additions
and
62 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