summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_sources
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-12-05 14:06:12 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:20:37 +0100
commitd703d361fc6b707934ac521516999d31c92e6bc7 (patch)
tree4f2b6ae006cf22bd16ed79118aa287252283faa1 /scripts/build/lb_chroot_sources
parented422781550e0e1272605b3ba46157d46cac8573 (diff)
downloadvyos-live-build-d703d361fc6b707934ac521516999d31c92e6bc7.tar.gz
vyos-live-build-d703d361fc6b707934ac521516999d31c92e6bc7.zip
Passing chroot directory explicitly to Apt() in preparation for multi-arch.
Diffstat (limited to 'scripts/build/lb_chroot_sources')
-rwxr-xr-xscripts/build/lb_chroot_sources10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/build/lb_chroot_sources b/scripts/build/lb_chroot_sources
index 5b77f6537..8d6dc764d 100755
--- a/scripts/build/lb_chroot_sources
+++ b/scripts/build/lb_chroot_sources
@@ -411,15 +411,15 @@ EOF
Chroot chroot "apt-get ${APT_OPTIONS} install aptitude"
fi
- Apt update
- Apt upgrade
- Apt dist-upgrade
+ Apt chroot update
+ Apt chroot upgrade
+ Apt chroot dist-upgrade
# Installing keyring packages
if [ -n "${LB_KEYRING_PACKAGES}" ]
then
Chroot chroot "apt-get --yes --force-yes install ${LB_KEYRING_PACKAGES}"
- Apt update
+ Apt chroot update
fi
if [ "${LB_CACHE_INDICES}" = "true" ]
@@ -625,7 +625,7 @@ EOF
fi
# Updating indices
- Apt update
+ Apt chroot update
# Cleaning apt package cache
rm -rf chroot/var/cache/apt