Commit deeee34b authored by Vagrant Cascadian's avatar Vagrant Cascadian

[armhf] Compress u-boot images with "gzip -n" to avoid embedding

timestamps which cause reproducibility issues.
parent b005c73a
......@@ -15,14 +15,14 @@ u-boot-binaries:
echo "Providing u-boot binaries for $$1 ..."; \
cp "$$2" "$(SOME_DEST)/$(EXTRANAME)/$$1/"; \
dd 2>/dev/null if="$$2" of="$(SOME_DEST)/$(EXTRANAME)/$$1/$$1.sdcard.img" bs=512 seek="$$3"; \
gzip -9 "$(SOME_DEST)/$(EXTRANAME)/$$1/$$(basename $$2)"; \
gzip -9 -n "$(SOME_DEST)/$(EXTRANAME)/$$1/$$(basename $$2)"; \
fi; \
if [ -n "$$4" ]; then \
cp "$$4" "$(SOME_DEST)/$(EXTRANAME)/$$1/"; \
dd 2>/dev/null if="$$4" of="$(SOME_DEST)/$(EXTRANAME)/$$1/$$1.sdcard.img" bs=512 seek="$$5" conv=notrunc; \
gzip -9 "$(SOME_DEST)/$(EXTRANAME)/$$1/$$(basename $$4)"; \
gzip -9 -n "$(SOME_DEST)/$(EXTRANAME)/$$1/$$(basename $$4)"; \
fi; \
gzip -9 "$(SOME_DEST)/$(EXTRANAME)/$$1/$$1.sdcard.img"; \
gzip -9 -n "$(SOME_DEST)/$(EXTRANAME)/$$1/$$1.sdcard.img"; \
update-manifest "$(SOME_DEST)/$(EXTRANAME)$$1" "u-boot image for $$1"; \
fi ;\
done < boot/arm/u-boot-image-config
......@@ -18,6 +18,8 @@ debian-installer (20190411) UNRELEASED; urgency=medium
* [arm64] Add u-boot images for a64-olinuxino, orangepi_zero_plus2 and
teres_i.
* [arm64] Update Build-Depends to u-boot-sunxi (>= 2019.01+dfsg-5).
* [armhf] Compress u-boot images with "gzip -n" to avoid embedding
timestamps which cause reproducibility issues.
-- Cyril Brulebois <kibi@debian.org> Fri, 19 Apr 2019 22:45:44 +0200
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment