mirror of
https://github.com/openwrt/packages.git
synced 2026-01-09 19:31:21 +00:00
19
utils/lxc/patches/025-remove-unsupported-option.patch
Normal file
19
utils/lxc/patches/025-remove-unsupported-option.patch
Normal 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/
|
||||
Reference in New Issue
Block a user