summaryrefslogtreecommitdiff
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-10-22 16:34:06 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-10-22 16:34:06 +0100
commit48b42dae5115ef321dfddcf570ae517c3874c4b9 (patch)
tree790aaa4acb9618bfc18fd85a1b964bea99e5c7df /meta/classes/base.bbclass
parent535a77a9b681423e2f10744aca54858c25a03cb0 (diff)
downloadopenembedded-core-48b42dae5115ef321dfddcf570ae517c3874c4b9.tar.gz
openembedded-core-48b42dae5115ef321dfddcf570ae517c3874c4b9.tar.bz2
openembedded-core-48b42dae5115ef321dfddcf570ae517c3874c4b9.zip
classes: Only enable fakeroot on setscene tasks with packaging
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index feee524a6b..2c71571b3f 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -485,6 +485,7 @@ python () {
deps.append('virtual/fakeroot-native:do_populate_sysroot')
bb.data.setVarFlag('do_package', 'depends', " ".join(deps),d)
bb.data.setVarFlag('do_package', 'fakeroot', 1, d)
+ bb.data.setVarFlag('do_package_setscene', 'fakeroot', 1, d)
source_mirror_fetch = bb.data.getVar('SOURCE_MIRROR_FETCH', d, 0)
if not source_mirror_fetch:
need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)