summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime
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:59 +0100
commit24e9ed8beeb2a8070ace6eedde174944d05c9ad5 (patch)
tree1bf4b14ad7eeae6fef164ce4e6e6fccc21dd8ef6 /meta/lib/oeqa/runtime
parentd1870c9903ada9b8f05f71752c93693c244b03f2 (diff)
downloadpoky-24e9ed8beeb2a8070ace6eedde174944d05c9ad5.tar.gz
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. (From OE-Core rev: fae23c72288068f90e2f357a8abf1384850c02ed) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime')
0 files changed, 0 insertions, 0 deletions