summaryrefslogtreecommitdiffstats
path: root/meta
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
parent26ade54fa479f8cac723197b5dcf53f0e749174e (diff)
downloadpoky-d9ff2f897aa271e6b2d7e4dcaf8b8d19de513b50.tar.gz
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')
-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}"
1091do_package[sstate-inputdirs] = "${PKGDESTWORK} ${SHLIBSWORKDIR}" 1091do_package[sstate-inputdirs] = "${PKGDESTWORK} ${SHLIBSWORKDIR}"
1092do_package[sstate-outputdirs] = "${PKGDATA_DIR} ${SHLIBSDIR}" 1092do_package[sstate-outputdirs] = "${PKGDATA_DIR} ${SHLIBSDIR}"
1093do_package[sstate-lockfile] = "${PACKAGELOCK}" 1093do_package[sstate-lockfile] = "${PACKAGELOCK}"
1094do_package_setscene[dirs] = "${STAGING_DIR}"
1094 1095
1095python do_package_setscene () { 1096python do_package_setscene () {
1096 sstate_setscene(d) 1097 sstate_setscene(d)