summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2011-07-05 13:18:06 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-27 16:25:35 +0100
commit28543c5780ab8f3d504a827bf37f3dc2fc1c5f12 (patch)
tree413b00c9efaa1e61202686fa8811f25b14c8ac7b /meta/classes/rootfs_ipk.bbclass
parentaf1cd61210619b97b362c40b875ff0aa81ff4546 (diff)
downloadpoky-28543c5780ab8f3d504a827bf37f3dc2fc1c5f12.tar.gz
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>
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r--meta/classes/rootfs_ipk.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 4fcacc67ec..695bee0296 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -22,6 +22,7 @@ opkglibdir = "${localstatedir}/lib/opkg"
22 22
23# Which packages to not install on the basis of a recommendation 23# Which packages to not install on the basis of a recommendation
24BAD_RECOMMENDATIONS ?= "" 24BAD_RECOMMENDATIONS ?= ""
25MULTILIBRE_ALLOW_REP = "${opkglibdir}"
25 26
26fakeroot rootfs_ipk_do_rootfs () { 27fakeroot rootfs_ipk_do_rootfs () {
27 set -x 28 set -x
@@ -58,6 +59,7 @@ fakeroot rootfs_ipk_do_rootfs () {
58 export INSTALL_ROOTFS_IPK="${IMAGE_ROOTFS}" 59 export INSTALL_ROOTFS_IPK="${IMAGE_ROOTFS}"
59 export INSTALL_CONF_IPK="${IPKGCONF_TARGET}" 60 export INSTALL_CONF_IPK="${IPKGCONF_TARGET}"
60 export INSTALL_PACKAGES_NORMAL_IPK="${PACKAGE_INSTALL}" 61 export INSTALL_PACKAGES_NORMAL_IPK="${PACKAGE_INSTALL}"
62 export INSTALL_PACKAGES_MULTILIB_IPK="${MULTILIB_PACKAGE_INSTALL}"
61 63
62 package_install_internal_ipk 64 package_install_internal_ipk
63 65