Hello community, here is the log from the commit of package grub for openSUSE:Factory checked in at 2011-11-25 11:11:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grub (Old) and /work/SRC/openSUSE:Factory/.grub.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grub", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/grub/grub.changes 2011-09-23 02:02:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.grub.new/grub.changes 2011-11-25 10:12:26.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Nov 22 07:29:47 UTC 2011 - [email protected] + +- In post-install, check if bootloader setting is grub prior to + install in case of overwriting the working one. (bnc#726836) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grub.spec ++++++ --- /var/tmp/diff_new_pack.NvUvft/_old 2011-11-25 10:12:27.000000000 +0100 +++ /var/tmp/diff_new_pack.NvUvft/_new 2011-11-25 10:12:27.000000000 +0100 @@ -243,9 +243,15 @@ (xfs_freeze -u /; xfs_freeze -u /boot) > /dev/null 2>&1 fi fi +if [ -e /etc/sysconfig/bootloader ] ; then + source /etc/sysconfig/bootloader +fi + +LOADER_TYPE=${LOADER_TYPE:-grub} + # command sequence to update-install stage1/stage2. # leave everything else alone ! -if [ -e /etc/grub.conf ] ; then +if [ "x$LOADER_TYPE" = "xgrub" -a -e /etc/grub.conf ] ; then /usr/sbin/grub --batch < /etc/grub.conf >/dev/null 2>&1 fi exit 0 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
