-
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: Don't touch /usr/local at assembly time
In a server-side compose, we call `rootfs_prepare_links()` twice: once as part of unified core assembly, and once as part of final postprocessing. In case of the former, all we really want are the `/var` compat symlinks before running scriptlets. Otherwise, let's reduce to a single call the place where we determine the fate of `/usr/local` server-side. And certainly client-side, we shouldn't touch it at all (unless it's part of e.g. some experimental knob that purposely does more invasive things). A follow up to this is to split out `/usr/local` handling entirely into a separate function call, and only call that function in the server-side compose path (and rename `rootfs_prepare_links()` to e.g. `rootfs_prepare_compat_var_symlinks()`).
- Loading branch information
Showing
6 changed files
with
24 additions
and
17 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
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