diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2020-01-18 05:41:07 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-19 23:49:15 +0000 |
commit | bbf28ea9100a4f86b052c5cd53c77f9e1c03fb09 (patch) | |
tree | 7e3d53f656c3e3570a96a0e49b2571ab0a3a2655 /meta/recipes-support | |
parent | bfffb32611c6d61286171af7f4b1b2edb227f186 (diff) | |
download | openembedded-core-bbf28ea9100a4f86b052c5cd53c77f9e1c03fb09.tar.gz |
rootfs: Make BUILDNAME a weak default in reproducible_build_simple
11e45082ad00 ("rootfs-postcommands.bbclass: improve binary
reproducibility") fixed binary reproducibility of /etc/version, but with
the move to reproducibilty in all builds, setting /etc/version to
anything other than the default fixed timestamp is tricky because
rootfs_reproducible() runs very late.
rootfs.py uses BUILDNAME if set for /etc/version, so introduce a weak
default for BUILDNAME of "REPRODUCIBLE_TIMESTAMP_ROOTFS", when enabling
reproducible builds hence allowing BUILDNAME to be overridden elsewhere.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
0 files changed, 0 insertions, 0 deletions