Hello community,
here is the log from the commit of package dracut for openSUSE:Factory checked in at 2014-10-18 09:08:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dracut (Old)
and /work/SRC/openSUSE:Factory/.dracut.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dracut"
Changes:
--------
--- /work/SRC/openSUSE:Factory/dracut/dracut.changes 2014-10-05 20:31:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.dracut.new/dracut.changes 2014-10-18 09:08:33.000000000 +0200
@@ -1,0 +2,15 @@
+Wed Oct 15 16:07:47 UTC 2014 - trenn@suse.de
+
+- dracut-initrd-restore.patch: dracut-shutdown.service invokes
+ dracut-initramfs-restore script which will never work in
+ openSUSE because initrd images are named initrd not initramfs.
+ Patch is from: Cristian Rodríguez
From 76396977ee19d97697226bda13de007030433854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?=
Date: Wed, 15 Oct 2014 17:50:36 +0200 Subject: Fix initramfs-$ver.img vs initrd-$ver in dracut-initramfs-restore.sh
dracut-shutdown.service invokes dracut-initramfs-restore script which will never work in openSUSE because initrd images are named initrd not initramfs. --- dracut-initramfs-restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut-initramfs-restore.sh b/dracut-initramfs-restore.sh index 0dd1938..a3b7b1b 100644 --- a/dracut-initramfs-restore.sh +++ b/dracut-initramfs-restore.sh @@ -15,7 +15,7 @@ SKIP="$dracutbasedir/skipcpio" if [[ $MACHINE_ID ]] && [[ -d /boot/${MACHINE_ID} || -L /boot/${MACHINE_ID} ]] ; then IMG="/boot/${MACHINE_ID}/${KERNEL_VERSION}/initrd" fi -[[ -f $IMG ]] || IMG="/boot/initramfs-${KERNEL_VERSION}.img" +[[ -f $IMG ]] || IMG="/boot/initrd-${KERNEL_VERSION}" cd /run/initramfs -- 1.8.4.5 ++++++ dracut-installkernel ++++++ --- /var/tmp/diff_new_pack.W3NNNy/_old 2014-10-18 09:08:37.000000000 +0200 +++ /var/tmp/diff_new_pack.W3NNNy/_new 2014-10-18 09:08:37.000000000 +0200 @@ -71,6 +71,15 @@ cp -fp $MAPFILE $INSTALL_PATH/System.map-$KERNEL_VERSION cp -fp .config $INSTALL_PATH/$CONFIGFILE + +# 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 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org