wok-stable diff slitaz-loram-cdrom/stuff/loram.rootfs @ rev 4099

slitaz-loram*: add extract-loram
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 18 21:59:40 2009 +0200 (2009-09-18)
parents 0e169dcb3f73
children d9ddcc6d973c
line diff
     1.1 --- a/slitaz-loram-cdrom/stuff/loram.rootfs	Tue Aug 18 17:27:51 2009 +0200
     1.2 +++ b/slitaz-loram-cdrom/stuff/loram.rootfs	Fri Sep 18 21:59:40 2009 +0200
     1.3 @@ -1,7 +1,9 @@
     1.4  echo "$(du -hs /usr | cut -f1) were used by /usr"
     1.5 -lib/ld-*.so --list ./sbin/insmod | grep /usr/lib | cut -d\  -f3 | \
     1.6 -while read ii; do
     1.7 -  mv .${ii%%.so.*}.so* ./lib
     1.8 +for j in insmod unmkcromfs unsquashfs ; do 
     1.9 +  lib/ld-*.so --list *bin/$j 2> /dev/null | grep /usr/lib | cut -d\  -f3 | \
    1.10 +  while read ii; do
    1.11 +    mv .${ii%%.so.*}.so* ./lib
    1.12 +  done
    1.13  done
    1.14  for ii in /sbin /lib /bin; do
    1.15    mkdir -p ./usr/.moved$ii