mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
package_ipk: SDK generation workaround
During SDK generation the multilib_sanity_check function is being called, however it is not available unless we've been called from the image.bbclass. Disable the check if MULTILIB_CHECK_FILE (also set in image.bbclass) doesn't exist or is empty. (From OE-Core rev: 0611cceca1595ea4656ebcb985cbd92bb9774ec8) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
06d4cf01ff
commit
bb5a3ff0b0
@@ -127,8 +127,10 @@ package_install_internal_ipk() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
package_tryout_install_multilib_ipk
|
package_tryout_install_multilib_ipk
|
||||||
#sanity check
|
if [ ! -z "${MULTILIB_CHECK_FILE}" ]; then
|
||||||
multilib_sanity_check ${target_rootfs} ${multilib_tryout_dirs}|| exit 1
|
#sanity check
|
||||||
|
multilib_sanity_check ${target_rootfs} ${multilib_tryout_dirs} || exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -z "${package_multilib}" ]; then
|
if [ ! -z "${package_multilib}" ]; then
|
||||||
opkg-cl ${ipkg_args} install ${package_multilib}
|
opkg-cl ${ipkg_args} install ${package_multilib}
|
||||||
|
|||||||
Reference in New Issue
Block a user