]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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:57:06 +0000 (18:57 +0100)
commitb8ce7d0800dc63db2786e2761b7ac97f7b59cd06
tree7d1c2a018365a79af3be165c8cc6133657043279
parent53078a00ceab5d6aaa61c77fcb73f0d4aa788e00
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]

(From OE-Core rev: 11e45082ad00b9c172e59bf6b2a76dd613773f5a)

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