openSUSE / transactional-update

Atomic updates for Linux operating systems
Other
109 stars 31 forks source link

replace tu-rebuild-kdump-initrd with mkdumprd #107

Closed jiribohac closed 1 year ago

jiribohac commented 1 year ago

Starting with kdump version 1.9.0, the generation of the kdump initrd is simplified. As a result, kdump find-kernel is no longer available and thus tu-rebuild-kdump-initrd fails.

To regenerate the initrd, a simple call to mkdumprd is sufficient.

Remove the sbin/tu-rebuild-kdump-initrd script and replace it with a call to mkdumprd in sbin/transactional-update.

laenion commented 1 year ago

Some time ago I tried to find out why the code was split out from the original load.sh script. If I remember correctly it was because the script itself couldn't be sourced.

I talked to Thorsten and he also couldn't remember any more. But if all the required functionality is integrated in mkdumprd anyway nowadays I also don't see a reason to have a fork. Let's merge this.