diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2012-09-18 18:47:59 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-06 12:30:33 +0000 |
commit | 927fabf549bb79cc179d2cb0a953dcd515acf464 (patch) | |
tree | f918a28341d91b53d9db72d46d53cf84e6d7cf7a /meta/classes/rootfs_deb.bbclass | |
parent | 0d239328b1c6b9e4afadad75972d359181fbe1a5 (diff) | |
download | openembedded-core-927fabf549bb79cc179d2cb0a953dcd515acf464.tar.gz openembedded-core-927fabf549bb79cc179d2cb0a953dcd515acf464.tar.bz2 openembedded-core-927fabf549bb79cc179d2cb0a953dcd515acf464.zip |
rootfs generation: export two new variables to postinst scriptlets
In order for the postinst scriptlets to be able to run once we need to
export the location of the intercept scripts and also the location of
native sysrootfs. The gdk-pixbuf binaries will need the latter because
in order to generate the loaders.cache it will need to scan some shared
libraries that must be native. Even though the output is a text file.
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/rootfs_deb.bbclass')
-rw-r--r-- | meta/classes/rootfs_deb.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass index 881fdbd980..955382f045 100644 --- a/meta/classes/rootfs_deb.bbclass +++ b/meta/classes/rootfs_deb.bbclass @@ -48,6 +48,8 @@ fakeroot rootfs_deb_do_rootfs () { export OFFLINE_ROOT=${IMAGE_ROOTFS} export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS} export OPKG_OFFLINE_ROOT=${IMAGE_ROOTFS} + export INTERCEPT_DIR=${WORKDIR}/intercept_scripts + export NATIVE_ROOT=${STAGING_DIR_NATIVE} # Attempt to run preinsts # Mark packages with preinst failures as unpacked |