Changeset 3011 in MondoRescue
- Timestamp:
- May 25, 2012, 10:56:08 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mindi/mindi
r3010 r3011 2662 2662 [ "$YOUR_KERNEL_SUCKS" ] && i=$MINDI_TMP/$i 2663 2663 LogFile "INFO: Adding $i ($s KB) to the rootfs" 2664 tar c hf - -C / $i 2>> $MINDI_TMP/$$.log | (cd "$mountpoint" ; tar xf -) || LogIt "ERROR: Unable to copy $i to $mountpoint" $MINDI_TMP/$$.log2664 tar cf - -C / $i 2>> $MINDI_TMP/$$.log | (cd "$mountpoint" ; tar xf -) || LogIt "ERROR: Unable to copy $i to $mountpoint" $MINDI_TMP/$$.log 2665 2665 # Uncompress modules if not using udev and native modprobe 2666 2666 if [ ! -f $mountpoint/tmp/USE-UDEV ]; then … … 2669 2669 gunzip -f $mountpoint/$i 2670 2670 fi 2671 fi 2672 if [ -L $mountpoint/$i ] && [ `echo "$i" | grep "\.ko$"` ]; then 2673 echo "Replacing module symlink ($i) with actual file" 2674 rm -f $mountpoint/$i 2675 cp -Lf $i $mountpoint/$i 2676 ls -l $mountpoint/$i 2671 2677 fi 2672 2678 done
Note:
See TracChangeset
for help on using the changeset viewer.