]> code.ossystems Code Review - openembedded-core.git/commit
pseudo/fakeroot: Move the pseudo directory creation into bitbake
authorRichard Purdie <rpurdie@linux.intel.com>
Fri, 22 Oct 2010 12:00:40 +0000 (13:00 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 22 Oct 2010 12:00:40 +0000 (13:00 +0100)
commit36f1ae42fe13dae174b7fb5eb85dc49d7d7b516b
tree0bf129fbd24cc21652ffa387400b4925c24218f9
parent00a96a20995cefacc52e10559029de32941ecf6e
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>
bitbake/lib/bb/runqueue.py
meta/classes/base.bbclass
meta/classes/package.bbclass
meta/classes/package_deb.bbclass
meta/classes/package_ipk.bbclass
meta/classes/package_rpm.bbclass
meta/conf/bitbake.conf