mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 16:31:29 +00:00
appimage build: add notes re investigating reproducibility failure
This commit is contained in:
parent
5f4162deaa
commit
b3c0231b2b
1 changed files with 17 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue