summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_deb.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/package_deb.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/package_deb.bbclass')
-rw-r--r--meta/classes/package_deb.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 2f0d78ddb4..71a58fb294 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -273,7 +273,6 @@ python do_package_write_deb_setscene () {
273 sstate_setscene(d) 273 sstate_setscene(d)
274} 274}
275addtask do_package_write_deb_setscene 275addtask do_package_write_deb_setscene
276do_package_write_deb_setscene[fakeroot] = "1"
277 276
278python () { 277python () {
279 if bb.data.getVar('PACKAGES', d, True) != '': 278 if bb.data.getVar('PACKAGES', d, True) != '':
@@ -282,6 +281,7 @@ python () {
282 deps.append('virtual/fakeroot-native:do_populate_sysroot') 281 deps.append('virtual/fakeroot-native:do_populate_sysroot')
283 bb.data.setVarFlag('do_package_write_deb', 'depends', " ".join(deps), d) 282 bb.data.setVarFlag('do_package_write_deb', 'depends', " ".join(deps), d)
284 bb.data.setVarFlag('do_package_write_deb', 'fakeroot', "1", d) 283 bb.data.setVarFlag('do_package_write_deb', 'fakeroot', "1", d)
284 bb.data.setVarFlag('do_package_write_deb_setscene', 'fakeroot', "1", d)
285} 285}
286 286
287python do_package_write_deb () { 287python do_package_write_deb () {