From 9168c95173e5a15dd6e1bec527af0efc7f5a6d85 Mon Sep 17 00:00:00 2001 From: Petar Koretic Date: Wed, 22 Oct 2014 11:00:45 +0200 Subject: [PATCH] lxc: patches: remove unsupported option Signed-off-by: Petar Koretic --- .../201-remove-unsupported-option.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 utils/lxc/patches/201-remove-unsupported-option.patch diff --git a/utils/lxc/patches/201-remove-unsupported-option.patch b/utils/lxc/patches/201-remove-unsupported-option.patch new file mode 100644 index 000000000..f70d49d95 --- /dev/null +++ b/utils/lxc/patches/201-remove-unsupported-option.patch @@ -0,0 +1,19 @@ +--- a/templates/lxc-download.in ++++ b/templates/lxc-download.in +@@ -479,15 +479,7 @@ fi + # Unpack the rootfs + echo "Unpacking the rootfs" + +-EXCLUDES="" +-excludelist=$(relevant_file excludes) +-if [ -f "${excludelist}" ]; then +- while read line; do +- EXCLUDES="$EXCLUDES --exclude=$line" +- done < $excludelist +-fi +- +-tar --anchored ${EXCLUDES} --numeric-owner -xpJf \ ++tar --numeric-owner -xpJf \ + ${LXC_CACHE_PATH}/rootfs.tar.xz -C ${LXC_ROOTFS} + + mkdir -p ${LXC_ROOTFS}/dev/pts/