8000 dracut: Ignore module when building kdump initrd by Johan-Liebert1 · Pull Request #1216 · coreos/afterburn · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dracut: Ignore module when building kdump initrd #1216

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

Merged
merged 2 commits into from
Jun 12, 2025

Conversation

Johan-Liebert1
Copy link
Member

@jlebon
Copy link
Member
jlebon commented Jun 6, 2025

I think this applies here too: coreos/ignition#2090 (comment)

Though looks like we would need to change the return code here to be 255. Which... is technically a breaking change, but I think does makes sense. The initrd units here require integration on the OS side.

8000

@Johan-Liebert1
Copy link
Member Author

Thanks for the review. I've updated to unconditionally return 255 from the check function. Should we keep this behind an if guard?

@jlebon
Copy link
Member
jlebon commented Jun 9, 2025

I think first we need to explicitly pull in the afterburn dracut module in f-c-c. I think https://github.com/coreos/fedora-coreos-config/blob/1af57afab31a884c7b173d72e6877b02758d71f6/overlay.d/05core/usr/lib/dracut/modules.d/35coreos-network/module-setup.sh is probably the most appropriate spot.

@dustymabe
Copy link
Member

The Release notes / Require release note check is failing so let's add a release note.

@dustymabe dustymabe requested a review from jlebon June 11, 2025 18:47
Comment on lines 8 to 9
#
# TLDR: We don't need afterburn in kdump initrd, so this won't be included in it
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, I personally wouldn't mention kdump here. Even without the kdump impetus, I think we should still do this. I would just say e.g.

# This module requires integration with the rest of the initramfs, so don't include it by default.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. This makes sense. I'll update accordingly

Related to: coreos/fedora-coreos-tracker#1832

Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
Copy link
Member
@jlebon jlebon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment on the release notes, but otherwise LGTM

@@ -8,6 +8,8 @@ nav_order: 8

Major changes:

- Don't include afterburn module in initramfs by default
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about:

Suggested change
- Don't include afterburn module in initramfs by default
- dracut: don't include module by default

?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I'll update it. Wasn't sure how we write the release notes

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
@jlebon jlebon enabled auto-merge June 12, 2025 14:25
@jlebon jlebon merged commit 3c7ae33 into coreos:main Jun 12, 2025
9 checks passed
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.

3 participants
0