wok-4.x rev 12412

Fix issue with busybox rm (--preserve-root option doesn't implemented)
author Stanislas Leduc <shann@slitaz.org>
date Fri Dec 20 17:53:18 2013 +0100 (2013-12-20)
parents 594f7a31b593
children 0d00466fb4e4
files lxc/receipt
line diff
     1.1 --- a/lxc/receipt	Sun May 26 04:07:10 2013 +0200
     1.2 +++ b/lxc/receipt	Fri Dec 20 17:53:18 2013 +0100
     1.3 @@ -38,6 +38,7 @@
     1.4  		-e 's/\(.*\$GREP .*\)\(\$CONFIG.*\)/\1< \2/' \
     1.5  		-e 's/ < 3/ -lt 3/;s/ > 3/ -gt 3/' -e 's|/bin/bash|/bin/ash|' \
     1.6  		$fs/usr/bin/lxc-checkconfig
     1.7 +	sed -i "s/--preserve-root//" $fs/usr/bin/lxc-destroy $fs/usr/lib/lxc/templates/lxc-*
     1.8  	chmod +x $fs/usr/bin/lxc-*
     1.9  }
    1.10