Browse Source

Add kernel libs checksums in AppImage patch script

gre-patch-1
meriadec 6 years ago
parent
commit
24010df504
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 3
      scripts/patch-appimage.sh
  2. 4
      scripts/shasums/kernel-libs.txt

3
scripts/patch-appimage.sh

@ -29,6 +29,9 @@ for PACKAGE in "${LIBRARIES[@]}"; do
rm "$PACKAGE$PACKAGE_SUFFIX"
done
cp "$OLDPWD/scripts/shasums/kernel-libs.txt" .
sha512sum --quiet --check kernel-libs.txt || exit 1
./ledger-live-desktop-"$LEDGER_LIVE_VERSION"-linux-x86_64.AppImage --appimage-extract
cp -a usr/lib/x86_64-linux-gnu/*.so.* squashfs-root/usr/lib

4
scripts/shasums/kernel-libs.txt

@ -0,0 +1,4 @@
bebb42401a43971cfe3e31f2c9ee4efee352ce0d29a8ccc95ca1356a58463afd4876b133d9f4295697f96b76eb21b50c1909a073db753569e8969065eb40b306 usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
d7d2b38a46d65a06560241b226f61d81c4df28d56c6841dd34bb428802ace0fc80cf94de1e5117f0b85b2c69b550df61ac999184d5cfe8ecd3bea4d8394d1d21 usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
b025b755eb9a64f0d03a8e92c9e4b4f95c2c506bf070cf037841ef8cdb9013e16390d0e17330f2ce8c98c3b1f05b917a3018109acfde7aab50bc9d9fa70ea12b usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
f181e41f306819c10054ff8ceebf4943858f2cd34dea5206b51141877e2f651be3c6435bb02538cbde2cc0415f38e476423a9fd6a428ca9d425e9c662483b9af usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
Loading…
Cancel
Save