From 48b42dae5115ef321dfddcf570ae517c3874c4b9 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 22 Oct 2010 16:34:06 +0100 Subject: classes: Only enable fakeroot on setscene tasks with packaging Signed-off-by: Richard Purdie --- meta/classes/package_ipk.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/package_ipk.bbclass') diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index e93d7e2b1..c1393fa76 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass @@ -317,7 +317,6 @@ python do_package_write_ipk_setscene () { sstate_setscene(d) } addtask do_package_write_ipk_setscene -do_package_write_ipk_setscene[fakeroot] = "1" python () { if bb.data.getVar('PACKAGES', d, True) != '': @@ -326,6 +325,7 @@ python () { deps.append('virtual/fakeroot-native:do_populate_sysroot') bb.data.setVarFlag('do_package_write_ipk', 'depends', " ".join(deps), d) bb.data.setVarFlag('do_package_write_ipk', 'fakeroot', "1", d) + bb.data.setVarFlag('do_package_write_ipk_setscene', 'fakeroot', "1", d) } python do_package_write_ipk () { -- cgit v1.2.3