]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
kernel-yocto: allow patch author date to be commit date
authorBruce Ashfield <bruce.ashfield@gmail.com>
Thu, 28 Apr 2022 13:47:53 +0000 (09:47 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 30 Apr 2022 20:59:32 +0000 (21:59 +0100)
commitebe2411ce78d5e4ea49b9b4cb732b461ecc32ca6
tree6a270b90854ccc1b99e585164f853d5ea527b62d
parent33df447affa7a3a360b1da028e6b12fbcd388db6
kernel-yocto: allow patch author date to be commit date

In situations where a buid needs to be reproducible, it is
sometimes desireable to use a patches author date, versus the
time when it is applied. This generates a consistent hash
between different patch applications.

We leverage the existing KERNEL_DEBUG_TIMESTAMPS to trigger
the use of a new option to kgit-s2q. This allows us to use
the author date in a reproducible configuration, but disable
it if we need the current time/date.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb