summaryrefslogtreecommitdiffstats
path: root/meta-poky/conf/distro/poky-tiny.conf
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2021-06-01 21:36:48 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-03 23:09:42 +0100
commitc78b8a87db50323846834729f72310d6ec95a39d (patch)
treef2ecae20a8048fbdc0940921877e044f001f68d3 /meta-poky/conf/distro/poky-tiny.conf
parent775b07b57322fee339ae6091bccac9b482c91306 (diff)
downloadpoky-c78b8a87db50323846834729f72310d6ec95a39d.tar.gz
classes/reproducible_build: Use atomic rename for SDE file
If an existing source date epoch file was found during do_unpack, it was deleted and a new one would be written in its place. This causes a race with check-before-use code in get_source_date_epoch_value. Resolve the problem by making do_unpack write the new source date epoch to a temporary file, then do an atomic rename to ensure it's always present, and change the check-before-use code to use a EAFP exception instead of checking for file existence. [YOCTO #14384] (From OE-Core rev: 0b5e3b33187bf78a2d62cc886463e4b27d6bd228) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky/conf/distro/poky-tiny.conf')
0 files changed, 0 insertions, 0 deletions