Project

General

Profile

Actions

action #127148

open

make dracut write initrd to correct location

Added by lnussel about 1 year ago. Updated 20 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Target version:
-
Start date:
2023-04-04
Due date:
% Done:

70%

Estimated time:

Description

With sd-boot and snaphots, dracut can't just write to /boot/initrd-$kernelversion. Need to consider creating a new snapshot and write an entirely new initrd together with a new config file.
This task may be obsolete if we decide to go for UKIs or otherwise pre-built initrds

Slightly related but probably does not fix the problem.
https://bugzilla.suse.com/show_bug.cgi?id=1198681

Actions #1

Updated by lnussel 11 months ago

Not sure it makes much sense to let dracut write to the "correct" location anyway. Currently I always add the checksum to the file name. When the initrd changes, the bootloader entry also needs to be changed.

Also, /usr/lib/module-init-tools/regenerate-initrd-posttrans needs a way to allow disabling it

Actions #2

Updated by lnussel 10 months ago

Asked to be able to replace regenerate-initrd-posttrans https://bugzilla.opensuse.org/show_bug.cgi?id=1213459

Actions #3

Updated by lnussel about 1 month ago

  • % Done changed from 0 to 70
Actions #4

Updated by lnussel about 1 month ago

  • Status changed from New to In Progress
Actions #5

Updated by lnussel 20 days ago

  • Assignee set to lnussel

patch merged, need to ship a file that disables guessing https://bugzilla.suse.com/show_bug.cgi?id=1213648

Actions

Also available in: Atom PDF