]> code.ossystems Code Review - openembedded-core.git/commit
rootfs-postcommands.bbclass: improve binary reproducibility
authorJuro Bystricky <juro.bystricky@intel.com>
Fri, 13 Apr 2018 22:47:44 +0000 (15:47 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Apr 2018 17:48:20 +0000 (18:48 +0100)
commit11e45082ad00b9c172e59bf6b2a76dd613773f5a
tree56485febfc1c535a760aed171490f1b18e5c7520
parent882ae0dcce2d96a7c286fc23b22b07972d3d8f93
rootfs-postcommands.bbclass: improve binary reproducibility

Conditionally support binary reproducibility of rootfs images.
If REPRODUCIBLE_TIMESTAMP_ROOTFS is specified then:

1. set /etc/timestamp to a reproducible value
2. set /etc/version to a reproducible value
3. set /etc/gconf: set mtime in all %gconf.xml to reproducible values

The reproducible value is taken from the variable REPRODUCIBLE_TIMESTAMP_ROOTFS.

[YOCTO #11176]
[YOCTO #12422]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/rootfs-postcommands.bbclass