mirror of
https://git.yoctoproject.org/poky
synced 2026-06-04 02:00:04 +00:00
package(rootfs)_ipk.bbclass: support multilib in opkg backend.
Support install multiple multilib in opkg backend. The installation is done in 3 phases. Phase 1: install normal packages to IMAGE_ROOTFS. Phase 2: install multilib packages under MULTILIB_TEMP_ROOTFS. Packages belongs to the same multilib arch would be installed to a unique directory. Phase 3: check file confliction between IMAGE_ROOTFS and MULTILIB_TEMP_ROOTFS, install multilib packages to IMAGE_ROOTFS only if the sanity check passed. (From OE-Core rev: 9d81c2166be7ed388e5616e01ca2b4059e524c8e) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
af1cd61210
commit
28543c5780
@@ -22,6 +22,7 @@ opkglibdir = "${localstatedir}/lib/opkg"
|
||||
|
||||
# Which packages to not install on the basis of a recommendation
|
||||
BAD_RECOMMENDATIONS ?= ""
|
||||
MULTILIBRE_ALLOW_REP = "${opkglibdir}"
|
||||
|
||||
fakeroot rootfs_ipk_do_rootfs () {
|
||||
set -x
|
||||
@@ -58,6 +59,7 @@ fakeroot rootfs_ipk_do_rootfs () {
|
||||
export INSTALL_ROOTFS_IPK="${IMAGE_ROOTFS}"
|
||||
export INSTALL_CONF_IPK="${IPKGCONF_TARGET}"
|
||||
export INSTALL_PACKAGES_NORMAL_IPK="${PACKAGE_INSTALL}"
|
||||
export INSTALL_PACKAGES_MULTILIB_IPK="${MULTILIB_PACKAGE_INSTALL}"
|
||||
|
||||
package_install_internal_ipk
|
||||
|
||||
|
||||
Reference in New Issue
Block a user