-
Notifications
You must be signed in to change notification settings - Fork 159
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
overlay.d: move CoreOS specific dracut modules here #526
Conversation
Blocked on coreos/ignition#1039 Posting this for early discussion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor comments, but LGTM overall.
Thanks for tackling this!
overlay.d/05core/usr/lib/dracut/modules.d/31ignition-coreos/coreos-diskful-generator
Outdated
Show resolved
Hide resolved
overlay.d/05core/usr/lib/dracut/modules.d/31ignition-coreos/coreos-teardown-initramfs.sh
Outdated
Show resolved
Hide resolved
Ugh @jlebon looks like my local testing was flawed. I'm not sure we can remove I was not able to find documentation about providing in-tree overrides. |
So here's an idea that was discussed this morning:
if dracut_module_included "ignition"; then
exit 0
fi so that it's a no-op if we're on the old Ignition.
The advantage of this is that in the Ignition PR, we get to test the final state in CI before merging and cutting a release. The PR's CI will have to also |
As discussed in IRC, the mechanics of getting everything in place before the 2.5.0 release is more risky than just cutting over. Once 2.5.0 lands, this will be ready. Pending 2.5.0 release an RPM build. /hold |
Ignition 2.5.0 is packaged: https://bodhi.fedoraproject.org/updates/FEDORA-2020-3162a47c9f |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM generally. Some nits, including a couple things that came over verbatim from ignition-dracut.
overlay.d/05core/usr/lib/dracut/modules.d/30ignition-coreos/coreos-diskful-generator
Outdated
Show resolved
Hide resolved
overlay.d/05core/usr/lib/dracut/modules.d/30ignition-coreos/coreos-diskful-generator
Outdated
Show resolved
Hide resolved
overlay.d/05core/usr/lib/dracut/modules.d/30ignition-coreos/coreos-gpt-setup.service
Outdated
Show resolved
Hide resolved
overlay.d/05core/usr/lib/dracut/modules.d/30ignition-coreos/module-setup.sh
Outdated
Show resolved
Hide resolved
overlay.d/05core/usr/lib/dracut/modules.d/30ignition-coreos/module-setup.sh
Outdated
Show resolved
Hide resolved
overlay.d/05core/usr/lib/dracut/modules.d/30ignition-coreos/module-setup.sh
Outdated
Show resolved
Hide resolved
...ore/usr/lib/dracut/modules.d/99emergency-timeout-coreos/ignition-virtio-dump-journal.service
Outdated
Show resolved
Hide resolved
...ore/usr/lib/dracut/modules.d/99emergency-timeout-coreos/ignition-virtio-dump-journal.service
Outdated
Show resolved
Hide resolved
overlay.d/05core/usr/lib/dracut/modules.d/99emergency-timeout-coreos/module-setup.sh
Outdated
Show resolved
Hide resolved
overlay.d/05core/usr/lib/dracut/modules.d/99journald-conf-coreos/module-setup.sh
Outdated
Show resolved
Hide resolved
Confirmed against https://bodhi.fedoraproject.org/updates/FEDORA-2020-3162a47c9f |
CI is failing because of the file conflicts. Want to include the Ignition override as part of this PR? See #522 for an example. |
overlay.d/05core/usr/lib/dracut/modules.d/30ignition-coreos/coreos-diskful-generator
Outdated
Show resolved
Hide resolved
overlay.d/05core/usr/lib/dracut/modules.d/30ignition-coreos/coreos-diskful-generator
Outdated
Show resolved
Hide resolved
...y.d/05core/usr/lib/dracut/modules.d/99emergency-timeout/ignition-virtio-dump-journal.service
Outdated
Show resolved
Hide resolved
...y.d/05core/usr/lib/dracut/modules.d/99emergency-timeout/ignition-virtio-dump-journal.service
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs one last fix, and then I think this is good to go!
Signed-off-by: Ben Howard <[email protected]>
With the merging of ignition-dracut into Ignition starting with version 2.5.0, we are moving the 99* and 30ignition CoreOS specific modules here. Signed-off-by: Ben Howard <[email protected]>
Remove now unneeded sync-sources.sh script
With Ignition v2.5.0 Ignition-Dracut will be merged into Ignition itself.
Per [1] it was decided to move the CoreOS specific bits over here in this repo.
This includes a transitional hack (yes its an ugly, terrible, no-good hack) but the hack is intended to be short term until the 2.5.0 Ignition lands. Once 2.5.0 lands
dracut/31ignition
can be burned.[1] coreos/fedora-coreos-tracker#511