]> code.ossystems Code Review - openembedded-core.git/commit
reproducibile_build: Fix SDE file generation when unpack reruns
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 7 Mar 2020 18:03:40 +0000 (18:03 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 8 Mar 2020 08:20:32 +0000 (08:20 +0000)
commit5d579fc2fe71637fc6e071aa66542befa39ac8bb
tree2c088f8c723bb6752fcb29fa62af3d28d5e3fcad
parent9ffd08cf7d472e6572ee8f04781f410c9d657188
reproducibile_build: Fix SDE file generation when unpack reruns

Currently, if an existing TMPDIR is rebuilt, do_fetch/do_unpack can rerun
but SDE would remain unchanged. This leads to different results compared
to a fresh build. An example change which triggered this is:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=cb4e69e6346a9fbeebf83a5d5397cacbd41d48b5

Instead, delete any existing SDE and recalculate if we're reunning.
Also rename and drop the do_ prefix since these are for tasks,
not functions.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/reproducible_build.bbclass