]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
kernel/linux-kernel-base: Fix kernel build artefact determinism issues
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jan 2023 17:57:51 +0000 (17:57 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jan 2023 22:20:29 +0000 (22:20 +0000)
commit60681baa97daf4f3856453c34d6be08b6771a81b
treebe6556b7575a1b4c363255a5ea3128558ff6145f
parentb5ab0d1795e68c29a2b69f99a6b46b920e879ec7
kernel/linux-kernel-base: Fix kernel build artefact determinism issues

With the 6.1 kernel we've seen reproducibility/determinism issues where the kernel
seems to rebuild headers referencing the hostname or local user. kernel-devsrc
building after the kernel seemed to trigger it in some cases.

Moving the definitions to the bbclass used by all the kernel recipe code including
kernel-devsrc seems to be the best way to ensure this doesn't happen.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/kernel.bbclass
meta/classes-recipe/linux-kernel-base.bbclass