Changeset 3011 for branches/3.0/mindi


Ignore:
Timestamp:
May 25, 2012, 10:56:08 AM (7 years ago)
Author:
bruno
Message:
  • Really fix #607 as using 'h' for tar includes fully the build and source dirs as well, which is not what we want (Sanjeev V Kumar <sanjeev-v.kumar_at_hp.com>)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r3010 r3011  
    26622662        [ "$YOUR_KERNEL_SUCKS" ] && i=$MINDI_TMP/$i
    26632663        LogFile "INFO: Adding $i ($s KB) to the rootfs"
    2664         tar chf - -C / $i 2>> $MINDI_TMP/$$.log | (cd "$mountpoint" ; tar xf -) || LogIt "ERROR: Unable to copy $i to $mountpoint" $MINDI_TMP/$$.log
     2664        tar cf - -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
     
    26692669                gunzip -f $mountpoint/$i
    26702670            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
    26712677        fi
    26722678    done
Note: See TracChangeset for help on using the changeset viewer.