classes/package_tar: fix file ownership within tarballs
PATCH 1/1 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 <[email protected]>
--- meta/classes/package_tar.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/package_tar.bbclass +1 -1
@@ -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") }
Signature · 1 line
1.8.1.2