summaryrefslogtreecommitdiff
path: root/functions/packages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/packages.sh')
-rwxr-xr-xfunctions/packages.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/packages.sh b/functions/packages.sh
index 7c3592dac..a119e823d 100755
--- a/functions/packages.sh
+++ b/functions/packages.sh
@@ -18,7 +18,7 @@ Check_package ()
if [ "${INSTALL_STATUS}" -ne 0 ]
then
- if [ "${LB_BUILD_WITH_CHROOT}" != "false" ]
+ if [ "${LB_BUILD_WITH_CHROOT}" != "false" ] && [ "${CHROOT}" = "chroot" ]
then
_LB_PACKAGES="${_LB_PACKAGES} ${PACKAGE}"
else