summaryrefslogtreecommitdiff
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorKevin Tian <kevin.tian@intel.com>2010-10-26 15:54:43 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-11-07 20:40:06 +0000
commitd9ff2f897aa271e6b2d7e4dcaf8b8d19de513b50 (patch)
tree28941d7544d9d5f4473ea92ad2d943c6809b9c15 /meta/classes/package.bbclass
parent26ade54fa479f8cac723197b5dcf53f0e749174e (diff)
downloadopenembedded-core-d9ff2f897aa271e6b2d7e4dcaf8b8d19de513b50.tar.gz
openembedded-core-d9ff2f897aa271e6b2d7e4dcaf8b8d19de513b50.tar.bz2
openembedded-core-d9ff2f897aa271e6b2d7e4dcaf8b8d19de513b50.zip
package.bbclass: make sure 'sysroots' created before lockfile
package sstate requires a lock under sysroots/, which however may not be created when sstate_setscene functions are executed and then causes failures. here we make sure 'sysroots' created before do_package_setscene is executed. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 580e20d88c..d39c694de5 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1091,6 +1091,7 @@ do_package[sstate-plaindirs] = "${PKGD} ${PKGDEST}"
do_package[sstate-inputdirs] = "${PKGDESTWORK} ${SHLIBSWORKDIR}"
do_package[sstate-outputdirs] = "${PKGDATA_DIR} ${SHLIBSDIR}"
do_package[sstate-lockfile] = "${PACKAGELOCK}"
+do_package_setscene[dirs] = "${STAGING_DIR}"
python do_package_setscene () {
sstate_setscene(d)