wok-6.x rev 4730

slitaz-loram-http: do not transfert unpacked fs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 06 17:56:30 2010 +0100 (2010-01-06)
parents a03f00dcfb37
children cd56a4b910fc
files slitaz-loram-http/receipt
line diff
     1.1 --- a/slitaz-loram-http/receipt	Wed Jan 06 18:54:42 2010 +0100
     1.2 +++ b/slitaz-loram-http/receipt	Wed Jan 06 17:56:30 2010 +0100
     1.3 @@ -24,7 +24,7 @@
     1.4      tag="Handle kernel cmdline parameter config"
     1.5      i=$(grep -n "$tag" $1/etc/init.d/rcS | cut -d: -f1)
     1.6      i=$(($i-1))
     1.7 -    len=73
     1.8 +    len=72
     1.9      tag=$(grep "$tag" $1/etc/init.d/rcS)
    1.10      if [ "$2" = "-R" ]; then
    1.11      	line="-$(($i-$len+2)),$len +$(($i-$len+2)),2"
    1.12 @@ -99,7 +99,6 @@
    1.13  $i		release_http && break
    1.14  $i		mount -o loop,ro -t squashfs \$FS /\$usr
    1.15  $i	else
    1.16 -$i		release_http && break
    1.17  $i		FS=/cdrom/usr
    1.18  $i		ln -s \$FS /\$usr
    1.19  $i	fi