-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initrd-setup-root: Run always to ensure rootfs is populated
In flatcar/Flatcar#944 we noticed that dbus failed because of missing files in the rootfs when Ignition isn't running in a PXE environment. This worked before by chance but the underlying problem is that initrd-setup-root is required but wasn't running because the "wants" symlinks in the module setup weren't taking effect. This is a backport of the relevant changes in #50 to always run initrd-setup-root instead of only when Ignition runs by pulling it in from the two possible targets: either ignition-complete or ignition-subsequent which runs in the other case. The RequiresMountsFor=/sysroot/usr/share/oem directive didn't have any effect because there was no mount unit defined. The directive After=sysroot-usr.mount is already implied by RequiresMountsFor=/sysroot/usr/.
- Loading branch information
Showing
5 changed files
with
17 additions
and
5 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