summaryrefslogtreecommitdiff
path: root/tools/k3_gen_x509_cert.sh
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@reproducible-builds.org>2019-05-02 11:14:12 -0700
committerTom Rini <trini@konsulko.com>2019-05-09 20:22:04 -0400
commit878e2a50b50199cb06ee28df53151e396a29d838 (patch)
treee8ac1bd14c76e96345e64cb3d3d41a21f587114d /tools/k3_gen_x509_cert.sh
parent3ee8d913283f724dbf9401088decee806246b6db (diff)
Set time and umask on fit-dtb.blob to ensure reproducibile builds.
Support for compressed fit-dtb.blob was added in: commit 95f4bbd581cf ("lib: fdt: Allow LZO and GZIP DT compression in U-Boot") When building compressed (lzop, gzip) fit-dtb.blob images, the compression tool may embed the time or umask in the image. Work around this by manually setting the time of the source file using SOURCE_DATE_EPOCH and a hard-coded 0600 umask. With gzip, this could be accomplished by using -n/--no-name, but lzop has no current workaround: https://bugs.debian.org/896520 This is essentially the same fix applied to multi-dtb fit SPL images in: commit 8664ab7debab ("Set time and umask on multi-dtb fit images to ensure reproducibile builds.") Signed-off-by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Diffstat (limited to 'tools/k3_gen_x509_cert.sh')
0 files changed, 0 insertions, 0 deletions