slitaz-dev-tools rev 153
tazdev: dont sed chroot cook.conf (BUG)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 13 09:22:05 2012 +0100 (2012-03-13) |
parents | b571aa2a37b0 |
children | 43f3d9f291c6 |
files | tazdev/tazdev |
line diff
1.1 --- a/tazdev/tazdev Tue Mar 13 00:24:19 2012 +0100 1.2 +++ b/tazdev/tazdev Tue Mar 13 09:22:05 2012 +0100 1.3 @@ -104,12 +104,13 @@ 1.4 mount -o bind $1 $2 1.5 1.6 # Update aufs jail configuration 1.7 - if [ "${2#*/home}" != "$2" ] && 1.8 - grep -s ^AUFS_MOUNTS= ${2%/home/*}/etc/slitaz/cook.conf && 1.9 - ! grep -q /home${2#*/home} ${2%/home/*}/etc/slitaz/cook.conf; then 1.10 - sed -i "s|^AUFS_MOUNTS=\"|&/home${2#*/home}|" \ 1.11 - ${2%/home/*}/etc/slitaz/cook.conf 1.12 - fi 1.13 + # BUGGY 1.14 + #if [ "${2#*/home}" != "$2" ] && 1.15 + #grep -s ^AUFS_MOUNTS= ${2%/home/*}/etc/slitaz/cook.conf && 1.16 + #! grep -q /home${2#*/home} ${2%/home/*}/etc/slitaz/cook.conf; then 1.17 + #sed -i "s|^AUFS_MOUNTS=\"|&/home${2#*/home}|" \ 1.18 + #${2%/home/*}/etc/slitaz/cook.conf 1.19 + #fi 1.20 } 1.21 1.22 # Mount virtual Kernel file systems and chroot but check that nobody