Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initrd-setup-root-after-ignition: Ensure /etc/flatcar/sysext exists #89

Merged
merged 3 commits into from
Mar 13, 2024

Conversation

jepio
Copy link
Member

@jepio jepio commented Mar 12, 2024

Nothing guarantees that this folder is created, so we need to mkdir it before moving the sysext into it. Otherwise the user is forced to create it with ignition when specifying sysexts to install in
/etc/flatcar/enabled-sysext.conf.

@jepio jepio requested a review from pothos March 12, 2024 09:50
Nothing guarantees that this folder is created, so we need to mkdir it before
moving the sysext into it. Otherwise the user is forced to create it with
ignition when specifying sysexts to install in
/etc/flatcar/enabled-sysext.conf.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
ZFS provides dracut scripts that get automatically picked up by
dracut/update-bootengine. Explicitly omit the zfs module when calling dracut.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
The value of ROOT may be interpreted by some scripts in the chroot but is not
correct after chrooting. Unset it before executing chroot.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
@jepio jepio requested a review from pothos March 12, 2024 13:55
@jepio
Copy link
Member Author

jepio commented Mar 12, 2024

I've pushed two more changes, can you take another look @pothos ?

@jepio jepio merged commit 0812567 into flatcar-master Mar 13, 2024
@jepio jepio deleted the fix-sysext-mkdir branch March 13, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants