Changeset 3010 in MondoRescue for branches/3.0/mindi


Ignore:
Timestamp:
May 25, 2012, 12:33:48 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • Fix #607 by including kernel modules symlinked to modules out of tree (hpsa case from HP PSP) in the image using the 'h' option of tar.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r3008 r3010  
    26622662        [ "$YOUR_KERNEL_SUCKS" ] && i=$MINDI_TMP/$i
    26632663        LogFile "INFO: Adding $i ($s KB) to the rootfs"
    2664         tar cf - -C / $i 2>> $MINDI_TMP/$$.log | (cd "$mountpoint" ; tar xf -) || LogIt "ERROR: Unable to copy $i to $mountpoint" $MINDI_TMP/$$.log
     2664        tar chf - -C / $i 2>> $MINDI_TMP/$$.log | (cd "$mountpoint" ; tar xf -) || LogIt "ERROR: Unable to copy $i to $mountpoint" $MINDI_TMP/$$.log
    26652665        # Uncompress modules if not using udev and native modprobe
    26662666        if [ ! -f $mountpoint/tmp/USE-UDEV ]; then
Note: See TracChangeset for help on using the changeset viewer.