diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-22 13:00:40 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-22 13:00:40 +0100 |
commit | 36f1ae42fe13dae174b7fb5eb85dc49d7d7b516b (patch) | |
tree | 0bf129fbd24cc21652ffa387400b4925c24218f9 /meta/classes/base.bbclass | |
parent | 00a96a20995cefacc52e10559029de32941ecf6e (diff) | |
download | openembedded-core-36f1ae42fe13dae174b7fb5eb85dc49d7d7b516b.tar.gz openembedded-core-36f1ae42fe13dae174b7fb5eb85dc49d7d7b516b.tar.bz2 openembedded-core-36f1ae42fe13dae174b7fb5eb85dc49d7d7b516b.tar.xz openembedded-core-36f1ae42fe13dae174b7fb5eb85dc49d7d7b516b.zip |
pseudo/fakeroot: Move the pseudo directory creation into bitbake
If sstate was used to accelerate a build, the pseudo directory might not have
been created leading to subsequent task failures.
Also, sstate packages were not being installed under pseudo context meaning
file permissions could have been lost.
Fix these problems by creating a FAKEROOTDIRS variable which bitbake ensures
exists before running tasks and running the appropriate setscene tasks under
fakeroot context.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index f540b58fb..feee524a6 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -135,7 +135,6 @@ python base_do_setscene () { bb.build.make_stamp("do_setscene", d) } do_setscene[selfstamp] = "1" -do_setscene[dirs] = "${PSEUDO_LOCALSTATEDIR}" addtask setscene before do_fetch addtask fetch |