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

unshield: by the way corect Maintainer (GTKdialog/Tazpkgbox dont like: <>)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 12 23:42:35 2008 +0200 (2008-05-12)
parents 30c30ae22fb8
children c8364a02b6fc
line diff
     1.1 --- a/slitaz-loram-cdrom/stuff/loram.rootfs	Sat May 10 22:28:03 2008 +0000
     1.2 +++ b/slitaz-loram-cdrom/stuff/loram.rootfs	Mon May 12 23:42:35 2008 +0200
     1.3 @@ -44,8 +44,31 @@
     1.4    mv usr ../rootcd
     1.5    [ "$usr" = "usr" ] || mv $usr usr
     1.6    ln -s /cdrom/usr $usr
     1.7 -  ln -s /bin ../rootcd/bin
     1.8  fi
     1.9 +for ii in *; do
    1.10 +  case "$ii" in
    1.11 +  usr|boot) continue;;
    1.12 +  mnt|media|sys|proc|cdrom) mkdir ../rootcd/$ii;;
    1.13 +  *) cp -a $ii ../rootcd/$ii;;
    1.14 +  esac
    1.15 +done
    1.16 +for ii in keymap.conf locale.conf resolv.conf TZ motd; do
    1.17 +  ln -s /tmp/$ii ../rootcd/etc
    1.18 +done
    1.19 +for ii in log run lock; do
    1.20 +  mv ../rootcd/var/$ii ../rootcd/var/$ii.ORG
    1.21 +  ln -s /tmp/$ii ../rootcd/var
    1.22 +done
    1.23 +mv ../rootcd/root ../rootcd/root.ORG
    1.24 +ln -s /tmp ../rootcd/root
    1.25 +ln -s / ../rootcd/media/cdrom
    1.26 +mkdir ../rootcd/mnt/target
    1.27 +sed -i 's/CLEAN_UP_SYSTEM="yes"/CLEAN_UP_SYSTEM="no"/' ../rootcd/etc/rcS.conf
    1.28 +sed -i 's/RUN_DAEMONS="slim /RUN_DAEMONS="/' ../rootcd/etc/rcS.conf
    1.29 +for ii in ../rootcd/boot/isolinux/*.cfg; do
    1.30 +  cat $ii | awk '{ print } /append/ { printf "label loram\n\tkernel /boot/bzImage\n\tappend ro sound=noconf screen=text %s %s %s\n",$5,$6,$7 }' > $ii.tmp
    1.31 +  mv -f $ii.tmp $ii
    1.32 +done
    1.33  for ii in bin/vcsa2txt bin/awk bin/script bin/cut bin/readlink ; do
    1.34    ln -s busybox $ii
    1.35  done