From: Paul Eggleton Date: Wed, 19 Jun 2013 13:15:52 +0000 (+0100) Subject: classes/package_tar: fix file ownership within tarballs X-Git-Tag: 2015-4~6118 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=a31c7ec56568e5dafc2f45ba5675367ddceb0e3e;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- 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") }