Hello community,

here is the log from the commit of package device-mapper for openSUSE:Factory 
checked in at 2012-04-23 09:12:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/device-mapper (Old)
 and      /work/SRC/openSUSE:Factory/.device-mapper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "device-mapper", Maintainer is "[email protected]"

Changes:
--------
lvm2-clvm.changes: same change
--- /work/SRC/openSUSE:Factory/device-mapper/lvm2.changes       2011-10-21 
16:28:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.device-mapper.new/lvm2.changes  2012-04-23 
09:12:30.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Apr 20 07:52:09 UTC 2012 - [email protected]
+
+- Run update of initrd at %post and %postun.
+  We need this to make sure initrd reflects the updates. 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
lvm2-clvm.spec: same change
++++++ lvm2.spec ++++++
--- /var/tmp/diff_new_pack.RgNNCo/_old  2012-04-23 09:12:32.000000000 +0200
+++ /var/tmp/diff_new_pack.RgNNCo/_new  2012-04-23 09:12:32.000000000 +0200
@@ -25,7 +25,7 @@
 Group:          System/Base
 Requires:       device-mapper >= 1.02.25
 Provides:       lvm
-PreReq:         %fillup_prereq %insserv_prereq
+PreReq:         %fillup_prereq %insserv_prereq /sbin/mkinitrd
 %if %suse_version > 1130
 PreReq:         sysvinit(boot.device-mapper)
 %endif
@@ -140,7 +140,14 @@
 
 %post
 %{fillup_and_insserv -n lvm boot.lvm}
-[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
+[ -x /sbin/mkinitrd_setup ] && /sbin/mkinitrd_setup
+if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then
+  echo "Skipping recreation of existing initial ramdisks, due"
+  echo "to presence of /var/lib/no_initrd_recreation_by_suspend"
+elif [ -x /sbin/mkinitrd ]; then
+  /sbin/mkinitrd
+fi
+
 /sbin/ldconfig
 
 %preun
@@ -148,7 +155,14 @@
 
 %postun
 %{insserv_cleanup}
-[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
+[ -x /sbin/mkinitrd_setup ] && /sbin/mkinitrd_setup
+if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then
+  echo "Skipping recreation of existing initial ramdisks, due"
+  echo "to presence of /var/lib/no_initrd_recreation_by_suspend"
+elif [ -x /sbin/mkinitrd ]; then
+  /sbin/mkinitrd
+fi
+
 /sbin/ldconfig
 
 %files

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to