cookutils rev 292
cook: add AUFS_NOT_SUPPORTED support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 29 11:48:56 2012 +0100 (2012-02-29) |
parents | c71b4f095cec |
children | d4e9c9e64ef4 |
files | cook |
line diff
1.1 --- a/cook Mon Feb 27 13:08:41 2012 +0100 1.2 +++ b/cook Wed Feb 29 11:48:56 2012 +0100 1.3 @@ -769,6 +769,7 @@ 1.4 base=/dev/shm/aufsmnt$$ 1.5 1.6 # Can we setup the chroot ? Is it already done ? 1.7 + grep -q ^AUFS_NOT_SUPPORTED $receipt && return 1.8 [ -n "$AUFS_MOUNTS" -a ! -f /aufs-umount.sh ] || return 1.9 lsmod | grep -q aufs || modprobe aufs 2> /dev/null || return 1.10 mkdir ${base}root ${base}rw || return