summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build/lb_chroot_archives8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/lb_chroot_archives b/scripts/build/lb_chroot_archives
index 14423669d..5c6d690f1 100755
--- a/scripts/build/lb_chroot_archives
+++ b/scripts/build/lb_chroot_archives
@@ -497,13 +497,13 @@ EOF
# Installing keyring packages
if [ -n "${LB_KEYRING_PACKAGES}" ]
then
- # Temporary hack (FIXME)
if [ "${LB_DERIVATIVE}" = "true" ]
then
- _APT="--force-yes"
+ # Temporary hack (FIXME)
+ Chroot "apt-get ${APT_OPTIONS} --force-yes install ${LB_KEYRING_PACKAGES}"
+ else
+ Apt chroot "install ${LB_KEYRING_PACKAGES}"
fi
-
- Apt chroot "--force-yes install ${LB_KEYRING_PACKAGES}"
fi
rm -rf chroot/var/cache/apt/*.bin