Browse Source

lxc: patches: remove unsupported option

Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
lilik-openwrt-22.03
Petar Koretic 10 years ago
committed by Luka Perkov
parent
commit
9168c95173
1 changed files with 19 additions and 0 deletions
  1. +19
    -0
      utils/lxc/patches/201-remove-unsupported-option.patch

+ 19
- 0
utils/lxc/patches/201-remove-unsupported-option.patch View File

@ -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/

Loading…
Cancel
Save