I'm using pkg2appimage in its extracted form in a Docker container to build an AppImage. I've run into the issue where pkg2appimage fails at the AppImage generation step. I get the error:
+ generate_type2_appimage
++ which appimagetool
+ '[' -z /opt/pkg2appimage.AppDir/usr/bin//appimagetool ']'
++ which appimagetool
+ appimagetool=/opt/pkg2appimage.AppDir/usr/bin//appimagetool
+ '[' 1 ']'
++ mktemp -d
+ appimagetool_tempdir=/tmp/tmp.S9ztWZPiVx
+ mv appimagetool /tmp/tmp.S9ztWZPiVx
mv: cannot stat 'appimagetool': No such file or directory
Makefile:63: recipe for target 'build_docker' failed
make: *** [build_docker] Error 1
I'm using pkg2appimage in its extracted form in a Docker container to build an AppImage. I've run into the issue where pkg2appimage fails at the AppImage generation step. I get the error:
Looking at https://github.com/AppImageCommunity/pkg2appimage/blob/master/functions.sh#L229, there should be a
$
in front ofappimagetool
After making that change, I get the following error:
I tried commenting out https://github.com/AppImageCommunity/pkg2appimage/blob/master/functions.sh#L227 to https://github.com/AppImageCommunity/pkg2appimage/blob/master/functions.sh#L238 and I was able to create an AppImage.
Is
appimagetool
inpkg2appimage.AppImage
supposed to be an AppImage or a normal executable?