https://bugzilla.novell.com/show_bug.cgi?id=893555 https://bugzilla.novell.com/show_bug.cgi?id=893555#c0 Summary: remove mkinitrd scripts Classification: openSUSE Product: openSUSE Factory Version: 201408* Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: lnussel@suse.com ReportedBy: lnussel@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- openSUSE Factory switched to using dracut exclusively and no longer supports mkinitrd. Scripts in /lib/mkinitrd should therefore be removed to not litter the file system. Missing features need to be ported to dracut. Some tips from Thomas Renninger:
This sumbit request should serve as a nice example for what typically needs to be done: https://build.opensuse.org/request/show/237256
1) Remove all mkinitrd boot and setup scripts You may want to double check whether there should/must exist a dracut module instead doing the job now: https://git.kernel.org/cgit/boot/dracut/dracut.git
2) If the package places stuff into the initrd and triggers mkinitrd in rpm post or other sections you want to use Michal Mareks new rpm macros instead:
+BuildRequires: suse-module-tools ... %post -[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup +%{?regenerate_initrd_post} + +%posttrans +%{?regenerate_initrd_posttrans}
Some packages only call /sbin/mkinitrd_setup which activate the mkinitrd scripts only, but do not yet add anything to the initrd. This probably is (was!) because initrd creating costs quite some time. With Michal's above macros, initrd creation is now only done once at the end of any installation/update process if one or more packages are installed/updated having the regenerate_initrd* macros.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.