]> code.ossystems Code Review - openembedded-core.git/commit
externalsrc: Fix a source date epoch race in reproducible builds
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Sep 2021 10:55:44 +0000 (11:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Oct 2021 12:55:43 +0000 (13:55 +0100)
commite82095c02881410035ca23dc12692f074d8ed39b
tree85846b0be17f36850c1b63ece714e98b8c63ba19
parent0a20d7f462b42800a8420dbb57e6ac8b84770b39
externalsrc: Fix a source date epoch race in reproducible builds

When reproducible builds are enabled and externalsrc is in use, the
source date epoch function is added. The conditions on the conditional
code removing the unpack task need to match the deltask function, else
the source date epoch function can end up running twice and the functions
can race with each other causing build failures or corruption.

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