Browse Source

appimage build: add notes re investigating reproducibility failure

hard-fail-on-bad-server-string
SomberNight 5 years ago
parent
commit
b3c0231b2b
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 17
      contrib/build-linux/appimage/README.md

17
contrib/build-linux/appimage/README.md

@ -47,3 +47,20 @@ see [issue #5159](https://github.com/spesmilo/electrum/issues/5159).
### How can I see what is included in the AppImage?
Execute the binary as follows: `./electrum*.AppImage --appimage-extract`
### How to investigate diff between binaries if reproducibility fails?
```
cd dist/
./electrum-*-x86_64.AppImage1 --appimage-extract
mv squashfs-root/ squashfs-root1/
./electrum-*-x86_64.AppImage2 --appimage-extract
mv squashfs-root/ squashfs-root2/
$(cd squashfs-root1; find -type f -exec sha256sum '{}' \; > ./../sha256sum1)
$(cd squashfs-root2; find -type f -exec sha256sum '{}' \; > ./../sha256sum2)
diff sha256sum1 sha256sum2 > d
cat d
```
Useful binary comparison tools:
- vbindiff
- diffoscope

Loading…
Cancel
Save