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

Vagrant Cascadian vagrant at reproducible-builds.org
Thu May 2 00:42:13 UTC 2019


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(-)

-- 
2.20.1



More information about the U-Boot mailing list