aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-04 12:17:19 +0000
committerJoshua Lock <josh@linux.intel.com>2012-05-21 22:14:59 -0700
commitab2a4591c4c3926a960f18fa7e848f5d41255e14 (patch)
tree6ae2a546741669b107e3692a5ca84d5c46ff9865
parent43bd89eb195f56afef12e52ed58a2f0cad9c73db (diff)
downloadopenembedded-core-ab2a4591c4c3926a960f18fa7e848f5d41255e14.tar.gz
openembedded-core-ab2a4591c4c3926a960f18fa7e848f5d41255e14.tar.bz2
openembedded-core-ab2a4591c4c3926a960f18fa7e848f5d41255e14.zip
populate_sdk_ipk.bbclass: Ensure the correct environment is setup for postinstalls
Without this, various postinstalls get run with incorrect environments leading to various failures when building the toolchains. This adds some duplication and some variables we'd be better off removing. It does unbreak the SDK ipk code for now though. This needs revisiting. (From OE-Core rev: c5e6a533eab2f5af4a52d22f8efe5b49b77cd26c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com>
-rw-r--r--meta/classes/populate_sdk_ipk.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_ipk.bbclass b/meta/classes/populate_sdk_ipk.bbclass
index 8a0c268cce..c256c69d48 100644
--- a/meta/classes/populate_sdk_ipk.bbclass
+++ b/meta/classes/populate_sdk_ipk.bbclass
@@ -20,6 +20,11 @@ populate_sdk_ipk() {
export INSTALL_CONF_IPK="${IPKGCONF_TARGET}"
export INSTALL_PACKAGES_IPK="${TOOLCHAIN_TARGET_TASK}"
+ export D=${INSTALL_ROOTFS_IPK}
+ export OFFLINE_ROOT=${INSTALL_ROOTFS_IPK}
+ export IPKG_OFFLINE_ROOT=${INSTALL_ROOTFS_IPK}
+ export OPKG_OFFLINE_ROOT=${IPKG_OFFLINE_ROOT}
+
package_install_internal_ipk
#install host