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. (From OE-Core rev: a31c7ec56568e5dafc2f45ba5675367ddceb0e3e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
56ff693128
commit
8e8de62a2d
|
@ -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")
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue