summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb_chroot_hacks2
-rwxr-xr-xscripts/build/lb_chroot_sources10
2 files changed, 6 insertions, 6 deletions
diff --git a/scripts/build/lb_chroot_hacks b/scripts/build/lb_chroot_hacks
index 2b7c1d68a..d5a7d7fbc 100755
--- a/scripts/build/lb_chroot_hacks
+++ b/scripts/build/lb_chroot_hacks
@@ -138,7 +138,7 @@ case "${LB_BINARY_IMAGES}" in
net)
if [ ! -f chroot/usr/bin/smbmount ]
then
- Apt install smbfs
+ Apt chroot install smbfs
fi
if [ ! -d chroot/etc/initramfs-tools ]
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