summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-04 12:17:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-04 14:14:10 +0000
commitc4de612298266653130dd2e5b8378f62dda77e9f (patch)
treecc6ace227e93a7519009d3adbc4c99cdb70114eb /meta
parent3f4f440882e88126220b2e47091cb1fbc17d6fbf (diff)
downloadpoky-c4de612298266653130dd2e5b8378f62dda77e9f.tar.gz
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>
Diffstat (limited to 'meta')
-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() {
20 export INSTALL_CONF_IPK="${IPKGCONF_TARGET}" 20 export INSTALL_CONF_IPK="${IPKGCONF_TARGET}"
21 export INSTALL_PACKAGES_IPK="${TOOLCHAIN_TARGET_TASK}" 21 export INSTALL_PACKAGES_IPK="${TOOLCHAIN_TARGET_TASK}"
22 22
23 export D=${INSTALL_ROOTFS_IPK}
24 export OFFLINE_ROOT=${INSTALL_ROOTFS_IPK}
25 export IPKG_OFFLINE_ROOT=${INSTALL_ROOTFS_IPK}
26 export OPKG_OFFLINE_ROOT=${IPKG_OFFLINE_ROOT}
27
23 package_install_internal_ipk 28 package_install_internal_ipk
24 29
25 #install host 30 #install host