Changeset 3542 in MondoRescue for branches/3.2/mindi/mindi


Ignore:
Timestamp:
Mar 24, 2016, 5:48:03 PM (8 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
File:
1 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
Note: See TracChangeset for help on using the changeset viewer.