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:17 +0000 |
commit | 4dc31a327be1a506e78e1d028db08ceee22a216f (patch) | |
tree | f8518baa466d2bc690907e10c818f7773138f42b /meta | |
parent | cbdbc54e5743944fd24f497b46b3c54ad966d8eb (diff) | |
download | poky-4dc31a327be1a506e78e1d028db08ceee22a216f.tar.gz |
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]
(From OE-Core rev: e6ffc747a8ca5142c9bc6fbd2b06b5808bb38b02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 () { | |||
489 | d.setVarFlag('do_package', 'fakeroot', 1) | 489 | d.setVarFlag('do_package', 'fakeroot', 1) |
490 | d.setVarFlag('do_package', 'umask', 022) | 490 | d.setVarFlag('do_package', 'umask', 022) |
491 | d.setVarFlag('do_package_setscene', 'fakeroot', 1) | 491 | d.setVarFlag('do_package_setscene', 'fakeroot', 1) |
492 | d.setVarFlag('do_devshell', 'fakeroot', 1) | ||
493 | d.appendVarFlag('do_devshell', 'depends', ' virtual/fakeroot-native:do_populate_sysroot') | ||
492 | source_mirror_fetch = d.getVar('SOURCE_MIRROR_FETCH', 0) | 494 | source_mirror_fetch = d.getVar('SOURCE_MIRROR_FETCH', 0) |
493 | if not source_mirror_fetch: | 495 | if not source_mirror_fetch: |
494 | need_host = d.getVar('COMPATIBLE_HOST', True) | 496 | need_host = d.getVar('COMPATIBLE_HOST', True) |