Hello community, here is the log from the commit of package multipath-tools for openSUSE:Factory checked in at 2014-09-09 18:59:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/multipath-tools (Old) and /work/SRC/openSUSE:Factory/.multipath-tools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "multipath-tools" Changes: -------- --- /work/SRC/openSUSE:Factory/multipath-tools/multipath-tools.changes 2014-09-03 20:26:04.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.multipath-tools.new/multipath-tools.changes 2014-09-09 18:59:55.000000000 +0200 @@ -1,0 +2,9 @@ +Tue Sep 2 16:51:23 UTC 2014 - tr...@suse.de + +- Do not call mkinitrd in rpm macros directly, make use of + %{?regenerate_initrd_posttrans} and %{?regenerate_initrd_post} + instead to avoid rebuilding of initrd for each package that + needs initrd recreation. Only update initrd once per install/update + if needed + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ multipath-tools.spec ++++++ --- /var/tmp/diff_new_pack.THSWL7/_old 2014-09-09 18:59:58.000000000 +0200 +++ /var/tmp/diff_new_pack.THSWL7/_new 2014-09-09 18:59:58.000000000 +0200 @@ -121,26 +121,16 @@ if dmsetup --target multipath table | grep -q multipath ; then %service_add_post multipathd.service fi -[ -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 +%{?regenerate_initrd_post} exit 0 +%posttrans +%{?regenerate_initrd_posttrans} + %preun %service_del_preun multipathd.service %postun -[ -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 %service_del_postun multipathd.service %{run_ldconfig} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org