diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-18 13:19:50 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-19 08:47:36 -0800 |
commit | 1dc9e9c3c5d841502ff4b2e42832c201e58d7ebf (patch) | |
tree | deb8284b0d96e7ba740f33a024b50b3517d95493 /meta/recipes-core | |
parent | c723d1a38f35d5922eac113b6071748199742631 (diff) | |
download | poky-1dc9e9c3c5d841502ff4b2e42832c201e58d7ebf.tar.gz |
devshell.bbclass: Allow running devshell and fakeroot together
Currently its hard to run a devshell complete with fakeroot context. This
patch allows the fakeroot flag on the task to do this, as with any other
task. Since we may need to start X terminal applications, we need to
only start the fakeroot session on the final command, hence the hoops
this code jumps through.
As always with fakeroot, you can break out and run a command without
the fake permissions with syntax like "PSEUDO_UNLOAD=1 <command>"
[YOCTO #3374]
(From OE-Core rev: 0a2662a48eaf0487db043c348e2834bb9cdd0466)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
0 files changed, 0 insertions, 0 deletions