mbox series

[U-Boot,0/3] Tidy up support for compressed fit-dtb.blob.

Message ID 20190502004217.20863-1-vagrant@reproducible-builds.org
Headers show
Series Tidy up support for compressed fit-dtb.blob. | expand

Message

Vagrant Cascadian May 2, 2019, 12:42 a.m. UTC
Support for compressed fit-dtb.blob was added in:

  commit 95f4bbd581cf
  lib: fdt: Allow LZO and GZIP DT compression in U-Boot

This introduces reproducibility issues as the timestamp and umask may
be embedded in the output when using gzip, lzop or possibly other
compression tools if added later. The included patch works around this
by setting the date and umask on the file when SOURCE_DATE_EPOCH is
set.

The compressed files were not added to gitignore or the clean targets,
and the other two patches in this series adds them.


Vagrant Cascadian (3):
  Add fit-dtb.blob* to .gitignore to also exclude compressed blobs.
  Clean fit-dtb.blob* to also catch compressed blobs.
  Set time and umask on fit-dtb.blob to ensure reproducibile builds.

 .gitignore | 2 +-
 Makefile   | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)