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>
This commit is contained in:
parent
cbdbc54e57
commit
4dc31a327b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue