Skip to content

fix: unbreak local initramfs regeneration#1354

Merged
RoyalOughtness merged 1 commit intosecureblue:livefrom
HastD:dracut-fix
Sep 18, 2025
Merged

fix: unbreak local initramfs regeneration#1354
RoyalOughtness merged 1 commit intosecureblue:livefrom
HastD:dracut-fix

Conversation

@HastD
Copy link
Copy Markdown
Collaborator

@HastD HastD commented Sep 18, 2025

For some reason, an additional conf directory passed to dracut is stored in the generated initramfs, which means local initramfs regeneration will fail since the temporary conf directory no longer exists. Instead, we use a temporary conf file in /etc/dracut.conf.d, which can be safely deleted after running dracut.

For some reason, an additional conf directory passed to dracut is stored
in the generated initramfs, which means local initramfs regeneration
will fail since the temporary conf directory no longer exists. Instead,
we use a temporary conf *file* in `/etc/dracut.conf.d`, which can be
safely deleted after running dracut.

Signed-off-by: Daniel Hast <[email protected]>
@RoyalOughtness RoyalOughtness merged commit 781f1c0 into secureblue:live Sep 18, 2025
17 checks passed
@HastD HastD deleted the dracut-fix branch September 18, 2025 01:21
RoyalOughtness pushed a commit that referenced this pull request Sep 18, 2025
For some reason, an additional conf directory passed to dracut is stored
in the generated initramfs, which means local initramfs regeneration
will fail since the temporary conf directory no longer exists. Instead,
we use a temporary conf *file* in `/etc/dracut.conf.d`, which can be
safely deleted after running dracut.

Signed-off-by: Daniel Hast <[email protected]>
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