You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
499 B

  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/