diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-28 13:17:12 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-28 13:27:06 +0000 |
commit | e6ffc747a8ca5142c9bc6fbd2b06b5808bb38b02 (patch) | |
tree | bfd9da2c6ba0f7bfff02303b0377c658fd4c6d96 /meta/classes | |
parent | 09a5fec50d622d338db5bd5516d29e4f4d0cec0d (diff) | |
download | openembedded-core-e6ffc747a8ca5142c9bc6fbd2b06b5808bb38b02.tar.gz openembedded-core-e6ffc747a8ca5142c9bc6fbd2b06b5808bb38b02.tar.bz2 openembedded-core-e6ffc747a8ca5142c9bc6fbd2b06b5808bb38b02.zip |
base.bbclass: When we use fakeroot, also use it for devshell
Its generally useful for devshell to end up in the fakeroot environment. If
a user needs to exit it, PSEUDO_UNLOAD=1 <command> works, its usually
harder to enter the envionment.
[YOCTO #3374]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/base.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 5fe9a84efe..68720a4a91 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -489,6 +489,8 @@ python () { d.setVarFlag('do_package', 'fakeroot', 1) d.setVarFlag('do_package', 'umask', 022) d.setVarFlag('do_package_setscene', 'fakeroot', 1) + d.setVarFlag('do_devshell', 'fakeroot', 1) + d.appendVarFlag('do_devshell', 'depends', ' virtual/fakeroot-native:do_populate_sysroot') source_mirror_fetch = d.getVar('SOURCE_MIRROR_FETCH', 0) if not source_mirror_fetch: need_host = d.getVar('COMPATIBLE_HOST', True) |