Print an error and exit if a host package (dependency) is missing.
Check_package will just add a missing dependency to the LB_PACKAGES todo list if it doesn't find it, when build-with-chroot is true, even if the check was not for the chroot. Instead error out if the check is not done for the chroot, e.g. Check_package host /bin/foo foo
This commit is contained in:
parent
050e637b2c
commit
08dd0b90db
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue