From: Tom Rini Date: Fri, 10 May 2019 07:12:58 -0400 Subject: [U-Boot] [PATCH v2 3/3] Set time and umask on fit-dtb.blob to ensure reproducibile builds. In-Reply-To: <20190502181413.6833-4-vagrant@reproducible-builds.org> References: <20190502181413.6833-1-vagrant@reproducible-builds.org> <20190502181413.6833-4-vagrant@reproducible-builds.org> Message-ID: <20190510111258.GZ25571@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, May 02, 2019 at 11:14:12AM -0700, Vagrant Cascadian wrote: > 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 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: