summaryrefslogtreecommitdiffstats
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)
downloadpoky-48b42dae5115ef321dfddcf570ae517c3874c4b9.tar.gz
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 () {
485 deps.append('virtual/fakeroot-native:do_populate_sysroot') 485 deps.append('virtual/fakeroot-native:do_populate_sysroot')
486 bb.data.setVarFlag('do_package', 'depends', " ".join(deps),d) 486 bb.data.setVarFlag('do_package', 'depends', " ".join(deps),d)
487 bb.data.setVarFlag('do_package', 'fakeroot', 1, d) 487 bb.data.setVarFlag('do_package', 'fakeroot', 1, d)
488 bb.data.setVarFlag('do_package_setscene', 'fakeroot', 1, d)
488 source_mirror_fetch = bb.data.getVar('SOURCE_MIRROR_FETCH', d, 0) 489 source_mirror_fetch = bb.data.getVar('SOURCE_MIRROR_FETCH', d, 0)
489 if not source_mirror_fetch: 490 if not source_mirror_fetch:
490 need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1) 491 need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)