summaryrefslogtreecommitdiff
path: root/scripts/lib/checklayer
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2018-08-06 10:25:09 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-08 10:51:28 +0100
commitfae23c72288068f90e2f357a8abf1384850c02ed (patch)
treeb513fbe49c5b89e39c1450522571640d465cce67 /scripts/lib/checklayer
parent990a9c944375146bb3f0208b30e8b7f50239cef5 (diff)
downloadopenembedded-core-fae23c72288068f90e2f357a8abf1384850c02ed.tar.gz
openembedded-core-fae23c72288068f90e2f357a8abf1384850c02ed.tar.bz2
openembedded-core-fae23c72288068f90e2f357a8abf1384850c02ed.zip
classes/reproducible_build: Avoid dereferencing symlinks
Using os.path.getmtime() will dereference symbolic links in an attempt to get the last modified time. This can cause errors if the target doesn't exist, or worse map to some absolute build host path which would make a build not reproducible. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer')
0 files changed, 0 insertions, 0 deletions