summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-06-19 14:15:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-19 18:03:21 +0100
commita31c7ec56568e5dafc2f45ba5675367ddceb0e3e (patch)
treeb46a90ea74457671a11485f2872044e8d28cd1da
parente54393f18e2ffa5d8dbeca2357b0b3b7e4e31829 (diff)
downloadopenembedded-core-a31c7ec56568e5dafc2f45ba5675367ddceb0e3e.tar.gz
openembedded-core-a31c7ec56568e5dafc2f45ba5675367ddceb0e3e.tar.bz2
openembedded-core-a31c7ec56568e5dafc2f45ba5675367ddceb0e3e.zip
classes/package_tar: fix file ownership within tarballs
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. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/package_tar.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_tar.bbclass b/meta/classes/package_tar.bbclass
index c4bb62f126..2d6fc8fe21 100644
--- a/meta/classes/package_tar.bbclass
+++ b/meta/classes/package_tar.bbclass
@@ -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")
}