[U-Boot] Set time and umask on multi-dtb fit images to ensure reproducibile builds.

Tom Rini trini at konsulko.com
Mon Jun 4 21:59:22 UTC 2018


On Sun, Jun 03, 2018 at 12:26:57PM -0700, Vagrant Cascadian wrote:

> When building compressed (lzop, gzip) multi-dtb fit 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
> 
> Signed-off-by: Vagrant Cascadian <vagrant at debian.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180604/125a03dc/attachment.sig>


More information about the U-Boot mailing list