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-12 23:55:54 +0100 |
commit | b8f26c011d5ed888d85fef040bd821400d54c8fe (patch) | |
tree | 08081962901452847e950423363a74acf88adda4 /scripts/runqemu-export-rootfs | |
parent | 0f207bfc1f7a4fd509b78d32bbe1a8d4ebea8053 (diff) | |
download | openembedded-core-b8f26c011d5ed888d85fef040bd821400d54c8fe.tar.gz openembedded-core-b8f26c011d5ed888d85fef040bd821400d54c8fe.tar.bz2 openembedded-core-b8f26c011d5ed888d85fef040bd821400d54c8fe.zip |
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]
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-export-rootfs')
0 files changed, 0 insertions, 0 deletions