classes/package_tar: fix file ownership within tarballs
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 19 Jun 2013 13:15:52 +0000 (14:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Jun 2013 17:03:35 +0000 (18:03 +0100)
The fakeroot flag wasn't correctly set leading to files within the
output tarballs having uid/gid values from the build host instead of the
desired target permissions.

(From OE-Core rev: a31c7ec56568e5dafc2f45ba5675367ddceb0e3e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_tar.bbclass

index c4bb62f..2d6fc8f 100644 (file)
@@ -56,7 +56,7 @@ python () {
         deps.append('tar-native:do_populate_sysroot')
         deps.append('virtual/fakeroot-native:do_populate_sysroot')
         d.setVarFlag('do_package_write_tar', 'depends', " ".join(deps))
-        d.setVarFlag('do_package_write_ipk', 'fakeroot', "1")
+        d.setVarFlag('do_package_write_tar', 'fakeroot', "1")
 }