Bugzilla – Bug 1203052
aaa_base: fix or remove the refresh_initrd script
Last modified: 2022-12-20 13:39:50 UTC
I came across the refresh_initrd script while searching for packages that still use mkinitrd in Tumbleweed, because it's deprecated and will be removed in the near future (see bug #1202351). But, this script it's not even working with the current mkinitrd version, which is just a wrapper that internally calls dracut and update-bootloader. If "$SPLASH = yes", it's called with the "-s auto" arguments, which are not implemented, producing "mkinitrd: boot splash not yet supported" (see https://github.com/openSUSE/dracut/blob/adedcbc79f4a467380147e5bba2e4f2402252c51/suse/mkinitrd-suse.sh#L281-L283). Also, it doesn't detect a change of a kernel module if it's compressed. The code should be: - module=${module%.ko} + module=${module%.ko*} So, I don't know the plans or current usage of this script, but it would require some tweaking, or just removing it if it's no longer used.
Werner, you are listed as author in the script, do we want to fix or drop this ?
(In reply to Ruediger Oertel from comment #1) > Werner, you are listed as author in the script, do we want to fix or drop > this ? If mkinitrd really vanishes then refresh_initrd isn't needed anymore. Does mkinitrd vanish and if so then when does this happen?
We have jsc#PED-265 for ALP, but there are several core packages that need some fixes first (kernel, kdump, yast2...), so we are already moving this for factory.
Compare with attachment https://bugzilla.opensuse.org/attachment.cgi?id=863597 for bug boo#1204897