U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/3] Tidy up support for compressed fit-dtb.blob.
@ 2019-05-02  0:42 Vagrant Cascadian
  2019-05-02  0:42 ` [U-Boot] [PATCH 1/3] Add fit-dtb.blob* to .gitignore to also exclude compressed blobs Vagrant Cascadian
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Vagrant Cascadian @ 2019-05-02  0:42 UTC (permalink / raw)
  To: u-boot


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-05-02 17:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-02  0:42 [U-Boot] [PATCH 0/3] Tidy up support for compressed fit-dtb.blob Vagrant Cascadian
2019-05-02  0:42 ` [U-Boot] [PATCH 1/3] Add fit-dtb.blob* to .gitignore to also exclude compressed blobs Vagrant Cascadian
2019-05-02  9:23   ` Marek Vasut
2019-05-02 16:44     ` Vagrant Cascadian
2019-05-02 17:07       ` Marek Vasut
2019-05-02  0:42 ` [U-Boot] [PATCH 2/3] Clean fit-dtb.blob* to also catch " Vagrant Cascadian
2019-05-02  0:42 ` [U-Boot] [PATCH 3/3] Set time and umask on fit-dtb.blob to ensure reproducibile builds Vagrant Cascadian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox