summaryrefslogtreecommitdiffstats
path: root/utils/lxc/patches/025-remove-unsupported-option.patch
blob: cb0a9f0d2a3084e72f2fc04b83079315e5555cd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/templates/lxc-download.in
+++ b/templates/lxc-download.in
@@ -494,15 +494,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/