OpenWrt reproducible squashfs

Paul paul at makrotopia.org
Fri Sep 7 13:12:07 BST 2018


Hi all,

I'm trying to create reproducible squashfs images, currently for the
target ar71xx/generic (due to its popularity).

My steps are as followed:

* Download and apply lynxis squasfskit patch[0] to OpenWrt buildroot
* Clean and compile tools/squashfskit
* Copy the file mksquashfs to the staging dir of an ar71xx/generic
ImageBuilder
* Create two images via
    * make image PROFILE="tl-wdr4300-v1" EXTRA_IMAGE_NAME="run-1"
    * make image PROFILE="tl-wdr4300-v1" EXTRA_IMAGE_NAME="run-2"
* Check the resulting sha256sums

Both factory.bin and sysupgrade.bin firmware files have different
checksums. What am I missing?

I'd be very happy to get this working, I'm planing on a semi automatic
reproducible test setup for OpenWrt.

Sunshine,
Paul

[0]
https://git.openwrt.org/?p=openwrt/staging/lynxis.git;a=commit;h=1ad9d341434e6cf123213928d9a2e86ceec59c55




More information about the Reproducible-builds mailing list