Hello community, here is the log from the commit of package mdadm for openSUSE:Factory checked in at 2012-04-23 09:15:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mdadm (Old) and /work/SRC/openSUSE:Factory/.mdadm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mdadm", Maintainer is "nfbr...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/mdadm/mdadm.changes 2011-12-25 17:36:50.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.mdadm.new/mdadm.changes 2012-04-23 09:15:41.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Apr 20 08:00:33 UTC 2012 - rmila...@suse.com + +- Run update of initrd at %post and %postun. + We need this to make sure initrd reflects the updates. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mdadm.spec ++++++ --- /var/tmp/diff_new_pack.K3VyTn/_old 2012-04-23 09:15:42.000000000 +0200 +++ /var/tmp/diff_new_pack.K3VyTn/_new 2012-04-23 09:15:42.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package mdadm # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,11 +15,12 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: mdadm Version: 3.2.2 Release: 0 BuildRequires: sgmltool -PreReq: %fillup_prereq %insserv_prereq +PreReq: %fillup_prereq %insserv_prereq /sbin/mkinitrd Obsoletes: raidtools Url: http://www.kernel.org/pub/linux/utils/raid/mdadm/ Summary: Utility for Configuring MD Setup @@ -71,6 +72,13 @@ %post [ -x /sbin/mkinitrd_setup ] && 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 + %{fillup_and_insserv -y boot.md} mkdir -p /dev/.mdadm # replace the /var/run/mdadm directory (installed by sle11/11.1) with @@ -86,6 +94,13 @@ %postun %restart_on_update mdadmd [ -x /sbin/mkinitrd_setup ] && 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 + %{insserv_cleanup} %preun -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org