diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-04-13 00:00:18 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-13 10:54:10 +0100 |
commit | 42734220721e3aaa46642014319d91189e63ce9f (patch) | |
tree | 97d9c855120870e79aae4eb5624abbb65327b300 /meta/classes/copyleft_compliance.bbclass | |
parent | ec9b108f468160e6f5abe215f37f7b32b3c2e305 (diff) | |
download | poky-42734220721e3aaa46642014319d91189e63ce9f.tar.gz |
sstate.bbclass: check if mirror directory is writable
Commit 51edde653707e7a3cd2186082458f01f32cd1996 makes a wrong assumption
that SSTATE_MIRRORS have write permissions.
A mirror is by definition outside of it's user control. In my use case
it happens I does not have permissions to update the access time of the
dereferenced symbolic-link file.
Checked if file is writable before changing its atime.
Thanks to Paulo Neves for the patch.
[YOCTO #11307]
(From OE-Core rev: b8f26c011d5ed888d85fef040bd821400d54c8fe)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/copyleft_compliance.bbclass')
0 files changed, 0 insertions, 0 deletions