]> code.ossystems Code Review - openembedded-core.git/commit
classes/kernel: Generate reproducible kernel module tarball
authorJoshua Watt <JPEWhacker@gmail.com>
Tue, 12 May 2020 21:19:24 +0000 (16:19 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 May 2020 13:13:50 +0000 (14:13 +0100)
commit5c6a472c82a9b3c122fc54d3ee7171508c643a8b
tree4b6f46c09511df658fad35459ee9fe164020d3f1
parent09fa9dabe17f69db71f3773f8808af745fb8ed4a
classes/kernel: Generate reproducible kernel module tarball

If reproducible binaries are requested, generate the kernel modules
tarball in a reproducible way. Namely, sort the tarball contents, clamp
the mtime to the source date epoch, compress the archive with a
consistent compression level (9), and don't include the name and
timestamp in the compressed file.

[YOCTO #12719]

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass