Ignore:
Timestamp:
Dec 17, 2005, 1:44:25 AM (18 years ago)
Author:
bcornec
Message:

Fix another bug for PXE and the new busybox around mv which doesn't want to move inexistant symlinks. Replaced by tar.
Bug fix in init on dirimg
Preparation of use of udhcpc by adding a symlink

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.05/mindi/rootfs/sbin/install-additional-tools

    r116 r229  
    110110
    111111# Was disabled in mid-March 2002 (?). Dunno why. Re-enabled July 11th, 2002.
    112 for path in /sbin /bin /usr/bin /usr/sbin /lib /usr/lib /lib/* /usr/lib/* ; do
    113     [ ! -e "$path" ] && mkdir -p "$path"
    114     for i in `ls $mountdir/$path 2> /dev/null` ; do
    115     rm -f $path/$i 2> /dev/null
    116         mv $mountdir/$path/$i $path 2> /dev/null
    117     done   
    118 done
     112# BERLIOS: This doesn't work for symlink with new busybox in PXE mode
     113#for path in /sbin /bin /usr/bin /usr/sbin /lib /usr/lib /lib/* /usr/lib/* ; do
     114    #[ ! -e "$path" ] && mkdir -p "$path"
     115    #for i in `ls $mountdir/$path 2> /dev/null` ; do
     116    #rm -f $path/$i 2> /dev/null
     117        #mv $mountdir/$path/$i $path 2> /dev/null
     118    #done   
     119#done
     120
     121cd $mountdir
     122tar cf - sbin bin usr/bin usr/sbin lib usr/lib | (cd / ; tar xf -)
     123cd /
    119124
    120125
Note: See TracChangeset for help on using the changeset viewer.