diff options
author | Norman Stetter <norman.stetter@garz-fricke.com> | 2020-09-25 13:49:43 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-28 14:15:48 +0100 |
commit | 0679d0b8592113c1c1b2804f4ce2de03bb7bb68b (patch) | |
tree | daef3f67d1d4457da63058ef14185200f32ff140 /meta/classes/rootfs_deb.bbclass | |
parent | b089c8f39df84e9ad0c760619ec44e6d60eb05f4 (diff) | |
download | poky-0679d0b8592113c1c1b2804f4ce2de03bb7bb68b.tar.gz |
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.
(From OE-Core rev: f1554e8bd40c640fd58daac18ecf7b458e754109)
Signed-off-by: Norman Stetter <norman.stetter@garz-fricke.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rootfs_deb.bbclass')
0 files changed, 0 insertions, 0 deletions