Changeset 3039 in MondoRescue for branches/3.0/mindi/mindi


Ignore:
Timestamp:
Oct 6, 2012, 5:13:15 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • Fix #647: bash is now systematically included in the ramdisk
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r3036 r3039  
    25282528
    25292529    # Copy of files from the minimal env needed as per the deplist.d/minimal.conf file (which includes all busybox deps)
    2530     mountlis=`grep -E "mount|fuse|ssh|libnss" $DEPLIST_FILE $DEPLIST_DIR/* | grep -v " *#.*" | cut -d: -f2 | sort -u`
     2530    mountlis=`grep -E "mount|fuse|ssh|libnss|bash" $DEPLIST_FILE $DEPLIST_DIR/* | grep -v " *#.*" | cut -d: -f2 | sort -u`
    25312531    rm -f $MINDI_TMP/minimal.lis
    25322532    for f in $MINDI_LIB/rootfs/bin/busybox $mountlis; do
     
    25492549
    25502550    # To improve support for distribution scripts, we now prefer to use bash as the std shell. Also fixes #600
    2551     grep -q bin/bash $MINDI_TMP/minimal.lis
    2552     if [ $? -eq 0 ]; then
    2553         ln -sf bin/bash bin/sh
    2554         LogIt "INFO: Using bash as default shell"
    2555     fi
     2551    ln -sf /bin/bash bin/sh
     2552    LogIt "INFO: Using bash as default shell"
    25562553    rm -f $MINDI_TMP/minimal.lis
    25572554
Note: See TracChangeset for help on using the changeset viewer.