-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switchroot: Move late /run/ostree-booted creation to ostree-system-ge…
…nerator When ostree-prepare-root is pid 1, ostree-prepare-boot defers creation of /run/ostree-booted, which we were doing in ostree-remount, but that's too late if we need ostree-system-generator to bind /var. Move the creation of the /run/ostree-booted marker to ostree-system-generator based on the existence of the ostree= kernel command line argument (which matches the condition that ostree-remount used). Signed-off-by: Alex Kiernan <[email protected]>
- Loading branch information
Showing
3 changed files
with
9 additions
and
19 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
Something I wasn't clear on, would this need changing to EXIT_SUCCESS if this patch moves forward?