https://bugzilla.novell.com/show_bug.cgi?id=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c10 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|aj@suse.com | --- Comment #10 from Andreas Jaeger <aj@suse.com> 2013-03-12 08:54:16 UTC --- postinstall that is executed is: cat /test/bnc805732/usr/src/packages/KIWI-oem/boot-VMX.QFyaWn/kiwi-VMXboot-10083/var/tmp/rpm-tmp.QprOJo # should anything go wrong the system will remain bootable : if [ -e /boot/grub/stage2 ] ; then mv /boot/grub/stage2{,.old} fi # copy especially stage2 over, because it will be modified in-place ! cp -p /usr/lib/grub/*stage1* /boot/grub 2>/dev/null || true ALL_ARGS=(--info-dir=/usr/share/info /usr/share/info/grub.info.gz) NUM_ARGS=${#ALL_ARGS[@]} if test -x /sbin/install-info ; then if test -e "${ALL_ARGS[$((NUM_ARGS-1))]}" ; then /sbin/install-info "${ALL_ARGS[@]}" fi fi ; ALL_ARGS=(--info-dir=/usr/share/info /usr/share/info/multiboot.info.gz) NUM_ARGS=${#ALL_ARGS[@]} if test -x /sbin/install-info ; then if test -e "${ALL_ARGS[$((NUM_ARGS-1))]}" ; then /sbin/install-info "${ALL_ARGS[@]}" fi fi ;#special hack for #46843 dd if=/usr/lib/grub/stage2 of=/boot/grub/stage2 bs=256k sync # sync may take much longer on XFS (Bug#223773) bootpart=`df /boot/. | perl -ane '$F[0] =~ m,/dev/[^\s]*, && print $F[0]'` eval `/sbin/blkid -u filesystem -o udev $bootpart` XFS_FREEZE=`type -p xfs_freeze` || true if [ -n "$XFS_FREEZE" ] ; then if [ "X$ID_FS_TYPE" = "X" -o "t_$ID_FS_TYPE" = "t_xfs" ]; then sync; sleep 5; sync; sleep 5; sync (xfs_freeze -f /; xfs_freeze -f /boot) > /dev/null 2>&1 (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 [ "x$LOADER_TYPE" = "xgrub" -a -e /etc/grub.conf ] ; then /usr/sbin/grub --batch < /etc/grub.conf >/dev/null 2>&1 fi -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.