diff options
author | Kevin Tian <kevin.tian@intel.com> | 2010-10-26 15:54:43 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-07 20:40:06 +0000 |
commit | d9ff2f897aa271e6b2d7e4dcaf8b8d19de513b50 (patch) | |
tree | 28941d7544d9d5f4473ea92ad2d943c6809b9c15 /meta | |
parent | 26ade54fa479f8cac723197b5dcf53f0e749174e (diff) | |
download | poky-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.bbclass | 1 |
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}" | |||
1091 | do_package[sstate-inputdirs] = "${PKGDESTWORK} ${SHLIBSWORKDIR}" | 1091 | do_package[sstate-inputdirs] = "${PKGDESTWORK} ${SHLIBSWORKDIR}" |
1092 | do_package[sstate-outputdirs] = "${PKGDATA_DIR} ${SHLIBSDIR}" | 1092 | do_package[sstate-outputdirs] = "${PKGDATA_DIR} ${SHLIBSDIR}" |
1093 | do_package[sstate-lockfile] = "${PACKAGELOCK}" | 1093 | do_package[sstate-lockfile] = "${PACKAGELOCK}" |
1094 | do_package_setscene[dirs] = "${STAGING_DIR}" | ||
1094 | 1095 | ||
1095 | python do_package_setscene () { | 1096 | python do_package_setscene () { |
1096 | sstate_setscene(d) | 1097 | sstate_setscene(d) |