wok-4.x diff slitaz-loram-cdrom/receipt @ rev 1339
slitaz-loram*: fix mount options for funionfs and cromfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 31 16:20:22 2008 +0000 (2008-08-31) |
parents | 1f3b7c0e6144 |
children | f0963019ca5a |
line diff
1.1 --- a/slitaz-loram-cdrom/receipt Wed Aug 20 15:13:11 2008 +0000 1.2 +++ b/slitaz-loram-cdrom/receipt Sun Aug 31 16:20:22 2008 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="slitaz-loram-cdrom" 1.7 -VERSION="1.3" 1.8 +VERSION="1.4" 1.9 CATEGORY="misc" 1.10 SHORT_DESC="Rules to build low ram system using cdrom." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -64,7 +64,7 @@ 1.13 $i FS=/cdrom/usr.cromfs 1.14 $i if [ -f \$FS ]; then 1.15 $i release_cdrom 1.16 -$i /bin/cromfs-driver \$FS /\$usr 1.17 +$i /bin/cromfs-driver \$FS /\$usr -o ro,dev,suid,allow_other 1.18 $i elif [ -f /cdrom/usr.sqfs ]; then 1.19 $i FS=/cdrom/usr.sqfs 1.20 $i release_cdrom 1.21 @@ -81,7 +81,7 @@ 1.22 $i fi 1.23 $i status 1.24 $i if [ -d /.usr.rw -a -x /bin/funionfs ]; then 1.25 -$i /bin/funionfs -o dirs=/.usr.ro=RO:/.usr.rw -o allow_other NONE /usr 1.26 +$i /bin/funionfs -o dirs=/.usr.ro=RO:/.usr.rw -o allow_other -o suid,dev NONE /usr 1.27 $i fi 1.28 $i fi 1.29 $i 1.30 @@ -130,7 +130,7 @@ 1.31 post_install() 1.32 { 1.33 set_patch "$1" 1.34 - if [ ! -x /bin/funionfs ]; then 1.35 + if [ ! -x $1/bin/funionfs ]; then 1.36 cat <<EOF 1.37 ---- 1.38 You will build a live CD with /usr mounted read-only.