025-remove-unsupported-option.patch 499 B

12345678910111213141516171819
  1. --- a/templates/lxc-download.in
  2. +++ b/templates/lxc-download.in
  3. @@ -494,15 +494,7 @@ fi
  4. # Unpack the rootfs
  5. echo "Unpacking the rootfs"
  6. -EXCLUDES=""
  7. -excludelist=$(relevant_file excludes)
  8. -if [ -f "${excludelist}" ]; then
  9. - while read line; do
  10. - EXCLUDES="$EXCLUDES --exclude=$line"
  11. - done < $excludelist
  12. -fi
  13. -
  14. -tar --anchored ${EXCLUDES} --numeric-owner -xpJf \
  15. +tar --numeric-owner -xpJf \
  16. ${LXC_CACHE_PATH}/rootfs.tar.xz -C ${LXC_ROOTFS}
  17. mkdir -p ${LXC_ROOTFS}/dev/pts/