]> code.ossystems Code Review - meta-freescale.git/commit
gpu-viv-bin-mx6q: Fix file ownership in packages
authorJacob Kroon <jacob.kroon@mikrodidakt.se>
Fri, 18 Jul 2014 21:05:43 +0000 (23:05 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 21 Jul 2014 13:58:13 +0000 (10:58 -0300)
commitfd3e061f7b5cde73a79db880a1e2c301bb7fa94a
tree283c461e103f22de908412e1006825940d5cef0c
parentd5db3b285804204174b0aef78de29e9e0fd3fbb7
gpu-viv-bin-mx6q: Fix file ownership in packages

The do_install() function is run under pseudo in order to create packages with
correct file-permissions. By issuing "cp -a" to install files, we leak
build user/group permissions into the packages, since the do_unpack() function
is executed as the regular build user. Replace it with -P, so that we at least
keep symlinks.

Also drop -x (--one-file-system) since it's not needed.

This was tested by comparing the output of "ls -lR --time-style=+ image/"
before and after the change.

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc