# HG changeset patch # User Stanislas Leduc # Date 1387558398 -3600 # Node ID 647d73170189d45f0a2db9a112913fc234a7ad46 # Parent 594f7a31b5932e93a26683c0521532146e10b08f Fix issue with busybox rm (--preserve-root option doesn't implemented) diff -r 594f7a31b593 -r 647d73170189 lxc/receipt --- a/lxc/receipt Sun May 26 04:07:10 2013 +0200 +++ b/lxc/receipt Fri Dec 20 17:53:18 2013 +0100 @@ -38,6 +38,7 @@ -e 's/\(.*\$GREP .*\)\(\$CONFIG.*\)/\1< \2/' \ -e 's/ < 3/ -lt 3/;s/ > 3/ -gt 3/' -e 's|/bin/bash|/bin/ash|' \ $fs/usr/bin/lxc-checkconfig + sed -i "s/--preserve-root//" $fs/usr/bin/lxc-destroy $fs/usr/lib/lxc/templates/lxc-* chmod +x $fs/usr/bin/lxc-* }