Skip to content

Commit

Permalink
Update script for Psi and Psi+ cross-compilation for Linux:
Browse files Browse the repository at this point in the history
add workaround for building AppImage packages while appstreamcli usage
in appimagetool tool is broken. See:
AppImage/AppImageKit#603
  • Loading branch information
tehnick committed Oct 25, 2020
1 parent e2b6537 commit c255388
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/posix/cross-compilation-using-lxe/linux_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,10 @@ BuildAppImageFiles()

cd "${MAIN_DIR}"
rm -f "${PRETTY_PROGRAM_NAME}-${VERSION}"*.AppImage

# Workaround for https://github.com/AppImage/AppImageKit/issues/603
# APPIMAGETOOL_EXTRA_OPTIONS="--no-appstream"

for DIR in "${PRETTY_PROGRAM_NAME}-${VERSION}"* ; do
[ ! -d "${DIR}" ] && continue

Expand All @@ -498,7 +502,8 @@ BuildAppImageFiles()
esac

echo "Creating: ${DIR}.AppImage"
"${APPIMAGETOOL}" "${DIR}" "${DIR}.AppImage" 2>&1 > appimagetool.log
"${APPIMAGETOOL}" "${APPIMAGETOOL_EXTRA_OPTIONS}" \
"${DIR}" "${DIR}.AppImage" 2>&1 > appimagetool.log
done
}

0 comments on commit c255388

Please sign in to comment.