diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2011-07-05 13:18:06 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-27 16:25:09 +0100 |
commit | 9d81c2166be7ed388e5616e01ca2b4059e524c8e (patch) | |
tree | 78ef1d4522d506f24d230339234825bb6258225a /meta/classes/rootfs_ipk.bbclass | |
parent | 137a4626a7e8107fc8a71724d5124f44236293b9 (diff) | |
download | openembedded-core-9d81c2166be7ed388e5616e01ca2b4059e524c8e.tar.gz openembedded-core-9d81c2166be7ed388e5616e01ca2b4059e524c8e.tar.bz2 openembedded-core-9d81c2166be7ed388e5616e01ca2b4059e524c8e.zip |
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.
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 2 |
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" # 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 |