Changeset 3542 in MondoRescue for branches/3.2/mindi


Ignore:
Timestamp:
Mar 24, 2016, 5:48:03 PM (9 years ago)
Author:
Bruno Cornec
Message:
  • Rename all mondorestore scripts with the mr- prefix and adapt callers
  • Place these scripts in /usr/bin on the restore media
  • Fix a mindi bug where these scripts were not copied anymore with previous modifications around removal of cd
Location:
branches/3.2/mindi
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3541 r3542  
    21422142    fi
    21432143    if [ -e "$MONDO_SHARE/restore-scripts" ]; then
    2144         cp -Rdf $MONDO_SHARE/restore-scripts/* . 2>> $LOGFILE
     2144        cp -Rdf $MONDO_SHARE/restore-scripts/* $bigdir/usr/bin 2>> $LOGFILE
    21452145        [ $? -ne 0 ] && [ _"$MONDO_SHARE" != _"" ] && Die "Cannot find/install $MONDO_SHARE/restore-scripts"
    21462146    fi
    21472147    if [ -d "/lib/dev-state" ]; then
    2148         cp -a /lib/dev-state ./lib/ 2>> $MINDI_TMP/$$.log || LogAll "ERROR: Unable to handle /lib/dev-state" $MINDI_TMP/$$.log
     2148        cp -a /lib/dev-state $bigdir/lib/ 2>> $MINDI_TMP/$$.log || LogAll "ERROR: Unable to handle /lib/dev-state" $MINDI_TMP/$$.log
    21492149    fi
    21502150    TOTAL_BIGDIR_SIZE=`du -sk $bigdir | cut -f1`
     
    22632263                LogFile "INFO: Copying $LDLINUXE64 to $efidir"
    22642264                cp $LDLINUXE64 $efidir 2>> $LOGFILE || Die "Cannot copy $LDLINUXE64 to $efidir). Did you run out of disk space?"
     2265                cp $LDLINUXE64/../libutil.c32 $efidir 2>> $LOGFILE || Die "Cannot copy $LDLINUXE64 to $efidir). Did you run out of disk space?"
    22652266            fi
    22662267        fi
  • branches/3.2/mindi/rootfs/etc/init.d/rcS

    r3526 r3542  
    11291129        LogIt "Executing final script $post"
    11301130        if [ "`echo $post | grep -E '^/mnt/RESTORING'`" ]; then
    1131             mount-me
     1131            mr-mount-me
    11321132        fi
    11331133        chmod 755 $post
    11341134        $post
    11351135        if [ "`echo $post | grep -E '^/mnt/RESTORING'`" ]; then
    1136             unmount-me
     1136            mr-unmount-me
    11371137        fi
    11381138    fi
  • branches/3.2/mindi/rootfs/usr/sbin/post-init

    r3279 r3542  
    5050fi
    5151
    52 for i in mount-me unmount-me mondorestore ; do
     52for i in mr-mount-me mr-unmount-me mondorestore ; do
    5353    if which $i > /dev/null 2> /dev/null ; then
    5454        LogIt "$i found"
Note: See TracChangeset for help on using the changeset viewer.