summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-07 15:15:48 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-07 16:48:31 +0100
commit950b505ca17062d183f32b8aff6ffb52a7dd1b47 (patch)
tree70305d3928f71015782bdaaa0d27efa284d5a10b /meta/classes
parent58feddba96ba08b88d42d27fd848e2968bb01845 (diff)
downloadpoky-950b505ca17062d183f32b8aff6ffb52a7dd1b47.tar.gz
package_*.bbclass: Drop fakeroot from setscene calls
Back in 2010, I added these in commit: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=36f1ae42fe13dae174b7fb5eb85dc49d7d7b516b however the package_write tasks sstate only consists of package files and no fakeroot privileges are needed to write these out, only originally create them. We can therefore drop these for some small performance gains and a less convoluted depenency chain. (From OE-Core rev: 3c760ce4dc15d85be07aafbfea896e7276e0c2c4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package_deb.bbclass1
-rw-r--r--meta/classes/package_ipk.bbclass1
-rw-r--r--meta/classes/package_rpm.bbclass1
3 files changed, 0 insertions, 3 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 313758f43f..949432e32d 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -402,7 +402,6 @@ python () {
402 deps = ' dpkg-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot' 402 deps = ' dpkg-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot'
403 d.appendVarFlag('do_package_write_deb', 'depends', deps) 403 d.appendVarFlag('do_package_write_deb', 'depends', deps)
404 d.setVarFlag('do_package_write_deb', 'fakeroot', "1") 404 d.setVarFlag('do_package_write_deb', 'fakeroot', "1")
405 d.setVarFlag('do_package_write_deb_setscene', 'fakeroot', "1")
406 405
407 # Map TARGET_ARCH to Debian's ideas about architectures 406 # Map TARGET_ARCH to Debian's ideas about architectures
408 darch = d.getVar('DPKG_ARCH', True) 407 darch = d.getVar('DPKG_ARCH', True)
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index f6797ada9d..55628e4a51 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -416,7 +416,6 @@ python () {
416 deps = ' opkg-utils-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot' 416 deps = ' opkg-utils-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot'
417 d.appendVarFlag('do_package_write_ipk', 'depends', deps) 417 d.appendVarFlag('do_package_write_ipk', 'depends', deps)
418 d.setVarFlag('do_package_write_ipk', 'fakeroot', "1") 418 d.setVarFlag('do_package_write_ipk', 'fakeroot', "1")
419 d.setVarFlag('do_package_write_ipk_setscene', 'fakeroot', "1")
420} 419}
421 420
422python do_package_write_ipk () { 421python do_package_write_ipk () {
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 8935c9fc6a..648327f41d 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -1128,7 +1128,6 @@ python () {
1128 deps = ' rpm-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot' 1128 deps = ' rpm-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot'
1129 d.appendVarFlag('do_package_write_rpm', 'depends', deps) 1129 d.appendVarFlag('do_package_write_rpm', 'depends', deps)
1130 d.setVarFlag('do_package_write_rpm', 'fakeroot', 1) 1130 d.setVarFlag('do_package_write_rpm', 'fakeroot', 1)
1131 d.setVarFlag('do_package_write_rpm_setscene', 'fakeroot', 1)
1132} 1131}
1133 1132
1134SSTATETASKS += "do_package_write_rpm" 1133SSTATETASKS += "do_package_write_rpm"