From: Gerhard Sittig Date: Sun, 13 Jan 2019 10:43:27 +0000 (+0100) Subject: appimage: pass $ARCH to appimagetool X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=commitdiff_plain;h=006ffd960318d1348c8b9ed0009506cccbe3acd7 appimage: pass $ARCH to appimagetool More recent appimagetool(1) implementations require an ARCH spec, since auto-detection finds several architectures in the application directory. This addresses part of bug #1349 (newer AppImageKit versions are required to unbreak the magic bytes in the ELF header). --- diff --git a/cross-compile/appimage/sigrok-native-appimage b/cross-compile/appimage/sigrok-native-appimage index 290ff3c..a3ab9b5 100755 --- a/cross-compile/appimage/sigrok-native-appimage +++ b/cross-compile/appimage/sigrok-native-appimage @@ -28,6 +28,7 @@ else fi LOWERAPP=${APP,,} +export ARCH export STATIC_FILES=`pwd`/contrib # Add $APPIMAGEKIT_OUTDIR so we can find all the binaries there.