Changeset 719


Ignore:
Timestamp:
2005-04-26T03:28:48+02:00 (13 years ago)
Author:
mbm
Message:

fix ipkg symlink issue on squashfs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/target/default/target_skeleton/bin/firstboot

    r211 r719  
    3838for file in $(cd /rom; find *  -type f; find *  -type l;) 
    3939do { 
    40         ln -sf  /rom/$file $file 
     40  [ "${file%/*}" = "usr/lib/ipkg/info" ] && { 
     41    cp -f /rom/$file $file 
     42  } || { 
     43    ln -sf /rom/$file $file 
     44  } 
    4145} done 
    4246echo "done" 
    4347 
     48echo -n "fixing ipkg symlinks... " 
     49for file in $( find /usr/lib/ipkg/info/*list -type l;) 
     50do { 
     51        rm $file; cp -f  /rom/$file $file 
     52} done   
     53         
    4454touch /tmp/resolv.conf 
    4555ln -s /tmp/resolv.conf /etc/resolv.conf 
Note: See TracChangeset for help on using the changeset viewer.