# HG changeset patch # User Christophe Lincoln # Date 1331626925 -3600 # Node ID c7508f69c75e379a8ccbbfc605e909660f62f591 # Parent b571aa2a37b0aad7a31ec9dd2d69486e72f2ad73 tazdev: dont sed chroot cook.conf (BUG) diff -r b571aa2a37b0 -r c7508f69c75e tazdev/tazdev --- a/tazdev/tazdev Tue Mar 13 00:24:19 2012 +0100 +++ b/tazdev/tazdev Tue Mar 13 09:22:05 2012 +0100 @@ -104,12 +104,13 @@ mount -o bind $1 $2 # Update aufs jail configuration - if [ "${2#*/home}" != "$2" ] && - grep -s ^AUFS_MOUNTS= ${2%/home/*}/etc/slitaz/cook.conf && - ! grep -q /home${2#*/home} ${2%/home/*}/etc/slitaz/cook.conf; then - sed -i "s|^AUFS_MOUNTS=\"|&/home${2#*/home}|" \ - ${2%/home/*}/etc/slitaz/cook.conf - fi + # BUGGY + #if [ "${2#*/home}" != "$2" ] && + #grep -s ^AUFS_MOUNTS= ${2%/home/*}/etc/slitaz/cook.conf && + #! grep -q /home${2#*/home} ${2%/home/*}/etc/slitaz/cook.conf; then + #sed -i "s|^AUFS_MOUNTS=\"|&/home${2#*/home}|" \ + #${2%/home/*}/etc/slitaz/cook.conf + #fi } # Mount virtual Kernel file systems and chroot but check that nobody