|author||Norman Stetter <email@example.com>||2020-09-25 13:49:43 +0200|
|committer||Richard Purdie <firstname.lastname@example.org>||2020-09-28 14:15:45 +0100|
sstate.bbclass: Check file ownership before doing 'touch -a'
In contrast to 'touching' a file without parameters 'touch -a' can only be performed by the file owner. In case of a shared sstate-cache served locally (e.g. over NFS), where the user running bitbake is not the owner of sstate-cache files, even if he has write access on group level, the sstate_unpack_package task will fail. Checking if the file is owned by the user before attempting to run 'touch -a' on it solves this. Signed-off-by: Norman Stetter <email@example.com> Signed-off-by: Richard Purdie <firstname.lastname@example.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
0 files changed, 0 insertions, 0 deletions