Remove apt-cacher setup

This commit is contained in:
Joshua Boniface 2023-09-01 15:41:54 -04:00
parent b5ce6cbe93
commit 7ad7a2d819
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ prepare_rootfs() {
--include=${SQUASHFS_PKGLIST} \ --include=${SQUASHFS_PKGLIST} \
buster \ buster \
artifacts/debootstrap/ \ artifacts/debootstrap/ \
http://localhost:3142/ftp.ca.debian.org/debian &>debootstrap.log || fail "Error performing debootstrap." http://ftp.ca.debian.org/debian &>debootstrap.log || fail "Error performing debootstrap."
sudo chroot artifacts/debootstrap/ apt clean &>/dev/null || fail "Error cleaning apt cache in debootstrap." sudo chroot artifacts/debootstrap/ apt clean &>/dev/null || fail "Error cleaning apt cache in debootstrap."
fi fi
sudo rsync -au artifacts/debootstrap/ ${tempdir}/rootfs/ &>/dev/null || fail "Error copying debootstrap to tempdir." sudo rsync -au artifacts/debootstrap/ ${tempdir}/rootfs/ &>/dev/null || fail "Error copying debootstrap to tempdir."