diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-11-13 14:11:36 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-11-13 14:11:36 +0000 |
commit | 1533c539285262beb61d1f410162e55678220dfa (patch) | |
tree | 0487b38c388bf0cac036b224e6299f7c97b72460 /main/lxc/bb-rm.patch | |
parent | 770eb31070f5a4d3cb3d39c3d284cd953cfd93a6 (diff) | |
download | aports-1533c539285262beb61d1f410162e55678220dfa.tar.bz2 aports-1533c539285262beb61d1f410162e55678220dfa.tar.xz |
main/lxc: upgrade to 0.8.0
Diffstat (limited to 'main/lxc/bb-rm.patch')
-rw-r--r-- | main/lxc/bb-rm.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main/lxc/bb-rm.patch b/main/lxc/bb-rm.patch new file mode 100644 index 0000000000..b354d48c47 --- /dev/null +++ b/main/lxc/bb-rm.patch @@ -0,0 +1,16 @@ +diff --git a/src/lxc/lxc-destroy.in b/src/lxc/lxc-destroy.in +index 846266c..f8f4b48 100644 +--- a/src/lxc/lxc-destroy.in ++++ b/src/lxc/lxc-destroy.in +@@ -122,9 +122,9 @@ if [ -n "$rootdev" ]; then + btrfs subvolume delete "$rootdev" + else + # In case rootfs is not under $lxc_path/$lxc_name, remove it +- rm -rf --one-file-system --preserve-root $rootdev ++ find $rootdev -xdev -delete + fi + fi + fi + # recursively remove the container to remove old container configuration +-rm -rf --one-file-system --preserve-root $lxc_path/$lxc_name ++find $lxc_path/$lxc_name -xdev -delete |