aboutsummaryrefslogtreecommitdiff
path: root/utils/lxc
diff options
context:
space:
mode:
authorPetar Koretic <petar.koretic@sartura.hr>2014-10-22 11:00:45 +0200
committerLuka Perkov <luka.perkov@sartura.hr>2014-10-23 04:07:10 -0400
commit9168c95173e5a15dd6e1bec527af0efc7f5a6d85 (patch)
tree596cd6fa8419113021e50a6bbe72426d5c55300c /utils/lxc
parent6bb15ba13c7c195c4945b399c40f0d4b61f97121 (diff)
lxc: patches: remove unsupported option
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
Diffstat (limited to 'utils/lxc')
-rw-r--r--utils/lxc/patches/201-remove-unsupported-option.patch19
1 files changed, 19 insertions, 0 deletions
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/