Bug#1024530: jh7100-bootloader-recovery: reproducible builds: Embeds build date in jh7100_recovery_boot.bin

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Nov 21 00:05:30 GMT 2022


Source: jh7100-bootloader-recovery
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

The build date is embedded in jh7100_recovery_boot.bin:

  https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/jh7100-bootloader-recovery.html

  /usr/lib/firmware/jh71xx/jh7100_recovery_boot.bin

  000050d0:·6465·6275·6700·0000·3232·3130·3232·2d30··debug...221022-0
  vs.
  000050d0:·6465·6275·6700·0000·3233·3131·3235·2d30··debug...231125-0

The attached patch to the upstream Makefile fixes this by using the
SOURCE_DATE_EPOCH environment variable.

Alternately, if possible, removing the date entirely would be even
better!

According to my local tests, With this patch applied jh7100-bootloader-recovery should
build reproducibly on tests.reproducible-builds.org!

Thanks for maintaining jh7100-bootloader-recovery!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Makefile-Use-SOURCE_DATE_EPOCH-to-set-SUFFIX-availab.patch
Type: text/x-diff
Size: 1024 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221120/49be506c/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221120/49be506c/attachment.sig>


More information about the Reproducible-bugs mailing list