]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: support binary reproducibility
authorJuro Bystricky <juro.bystricky@intel.com>
Wed, 9 Aug 2017 17:48:27 +0000 (10:48 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Aug 2017 23:01:44 +0000 (00:01 +0100)
commitdf8df5f907736c3e5b7f15ea11898a1d49726ca5
treedb3f000e4d875b3b7ec28c54cada03b0363de414
parent012a70da7ae0617740cd0cf807d01c3cd912c823
image.bbclass: support binary reproducibility

Added a new task "reproducible_final_image_task".
If binary reproducibility is desired ($BUILD_REPRODUCIBLE_BINARIES" = "1"),
then recursivley modify mtimes of all files to a reproducible vale.
The value is obtained via REPRODUCIBLE_TIMESTAMP_ROOTFS.
This task is executed as the very last step in image creation, once all
the files in the image have been finalized.

[YOCTO#11176]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass