Changeset 3683


Ignore:
Timestamp:
Aug 18, 2017, 12:16:52 PM (5 weeks ago)
Author:
bruno
Message:

force grub2-install execution (at least useful on OpeSUSE Leap) (patch from Stanislav Tokoš stanislav.tokos_atiba-group.com)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/restore-scripts/mondo/mr-grub

    r3645 r3683  
    139139echo "Now I'll use grub2-install" >> $LOGFILE
    140140if [ "$MNT_RESTORING" ] ; then
    141     chroot $MNT_RESTORING grub2-install $1 >> $LOGFILE 2>> $LOGFILE
    142     res=$?
    143 else
    144     grub2-install $1 >> $LOGFILE 2>> $LOGFILE
     141    chroot $MNT_RESTORING grub2-install --force $1 >> $LOGFILE 2>> $LOGFILE
     142    res=$?
     143else
     144    grub2-install --force $1 >> $LOGFILE 2>> $LOGFILE
    145145    res=$?
    146146fi
Note: See TracChangeset for help on using the changeset viewer.