appimage build: add notes re investigating reproducibility failure

This commit is contained in:
SomberNight 2019-12-24 03:30:26 +01:00
parent 5f4162deaa
commit b3c0231b2b
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -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