Shirish Pargaonkar changed bug 874621
What Removed Added
CC   maint-coord@suse.de
Flags   needinfo?(maint-coord@suse.de)

Comment # 36 on bug 874621 from
built dracut package for SLE-12:GA using local builds with osc with
this change and tested the /sbin/installkernel script from the built
package on a sles12 machine.


Index: dracut-installkernel
===================================================================
--- dracut-installkernel        (revision 45)
+++ dracut-installkernel        (working copy)
@@ -63,6 +63,15 @@
 cp -fp $BOOTIMAGE $INSTALL_PATH/$BOOTFILE-$KERNEL_VERSION
 cp -fp $MAPFILE $INSTALL_PATH/System.map-$KERNEL_VERSION

+
+# If the kernel has module support, recreate modules.dep using depmod
+# since the contents of modules.dep do not have a consistent format across
+# releases.
+
+if [ -x /sbin/depmod -a -d /lib/modules/$KERNEL_VERSION ]; then
+    /sbin/depmod $KERNEL_VERSION;
+fi
+
 CONFIG=$(dirname $MAPFILE)/.config
 CHECK_SUPPORTED=
 if [ -e "$CONFIG" ]; then



built mkinitrd package for openSUSE:13.1:Update using local builds with osc
with this change and tested the /sbin/installkernel script from the built
package on a opensuse 13.1 machine.

Index: mkinitrd.tar.bz2
===================================================================
Binary file 'mkinitrd.tar.bz2' has changed.


Not sure about factory, which project do I need to fetch package off of.
Tried openSUSE:Factory:Update and openSUSE:Factory:Update but none
have either mkinitrd or dracut.  None of the machines in orthos are 
installed with factory for me to quickly check the package name, so will
work on factory part later today / tomorrow.

Also, adding NEEDINFO from maint-coord@suse.de as per note received today
for SUSE:SLE-12:Update dracut.


You are receiving this mail because: