From mboxrd@z Thu Jan 1 00:00:00 1970 From: Siarhei Siamashka Date: Mon, 28 Sep 2015 21:59:11 +0300 Subject: [U-Boot] Reproducible U-Boot build support, using SOURCE_DATE_EPOCH In-Reply-To: <87oagriz0p.fsf@aikidev.net> References: <1437929295-9642-1-git-send-email-contact@paulk.fr> <87oagriz0p.fsf@aikidev.net> Message-ID: <20150928215911.01d1de39@i7> 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, 24 Sep 2015 09:05:10 -0700 Vagrant Cascadian wrote: > On 2015-07-26, Paul Kocialkowski wrote: > > In order to achieve reproducible builds in U-Boot, timestamps that are defined > > at build-time have to be somewhat eliminated. The SOURCE_DATE_EPOCH environment > > variable allows setting a fixed value for those timestamps. > ... > > However, some other devices might need some more tweaks, especially regarding > > the image generation tools. > > With this patch, there is still variation based on timezone in any of > the u-boot.img and u-boot-sunxi-with-spl.bin produced in the Debian > packages: > > https://reproducible.debian.net/rb-pkg/unstable/armhf/u-boot.html > > The good news is that all the u-boot.bin targets are produced > reproducibly, so here's to progress! Hello, I see that Debian is building U-Boot 2015.07 according to the information from that link. It may be a good idea to ensure that the following simple patch is also applied: http://git.denx.de/?p=u-boot.git;a=commitdiff;h=bfb05d0187d70274c77d02dc0de5e728e1f8be05 It had been submitted at the day when somebody (probably you) was troubleshooting reproducible build issues and asking questions in the U-Boot IRC channel. -- Best regards, Siarhei Siamashka