diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2012-12-10 16:30:03 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-13 15:18:43 +0000 |
commit | 0496ba3a9b0120eefefbc6e5f8390436f1ccb2c3 (patch) | |
tree | 590bd91d6f124c08c4dee72603c1dc9489af6b22 /meta/classes/populate_sdk_rpm.bbclass | |
parent | 4809890ae56f428413601072852e81f9a59ff891 (diff) | |
download | poky-0496ba3a9b0120eefefbc6e5f8390436f1ccb2c3.tar.gz |
populate_sdk_(deb|ipk|rpm): export NATIVE_ROOT and INTERCEPT_DIR variables
In order for the postinstall scripts to have access to the recent
improvements when generating the target SDK sysroot, export these
variables in populate_sdk.
(From OE-Core rev: 06151c34f4f4cb669b2f93ebb2f78cfecf698355)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_rpm.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_rpm.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_rpm.bbclass b/meta/classes/populate_sdk_rpm.bbclass index 1c5404927f..b5aa601f5d 100644 --- a/meta/classes/populate_sdk_rpm.bbclass +++ b/meta/classes/populate_sdk_rpm.bbclass | |||
@@ -40,6 +40,8 @@ populate_sdk_rpm () { | |||
40 | export INSTALL_PROVIDENAME_RPM="/bin/sh /bin/bash /usr/bin/env /usr/bin/perl pkgconfig pkgconfig(pkg-config)" | 40 | export INSTALL_PROVIDENAME_RPM="/bin/sh /bin/bash /usr/bin/env /usr/bin/perl pkgconfig pkgconfig(pkg-config)" |
41 | export INSTALL_TASK_RPM="populate_sdk-target" | 41 | export INSTALL_TASK_RPM="populate_sdk-target" |
42 | export INSTALL_COMPLEMENTARY_RPM="" | 42 | export INSTALL_COMPLEMENTARY_RPM="" |
43 | export INTERCEPT_DIR=${WORKDIR}/intercept_scripts | ||
44 | export NATIVE_ROOT=${STAGING_DIR_NATIVE} | ||
43 | 45 | ||
44 | # Setup base system configuration | 46 | # Setup base system configuration |
45 | mkdir -p ${INSTALL_ROOTFS_RPM}/etc/rpm/ | 47 | mkdir -p ${INSTALL_ROOTFS_RPM}/etc/rpm/ |