Home GnuPG

appimage: Add only necessary files to the AppImage

Description

appimage: Add only necessary files to the AppImage

* docker/appimage/build-appimage.sh: Use paths in installation directory
instead of AppDir where necessary. Also remove an already existing
AppRun.
* src/appimage/appimage.mk.in (idir): Change to directory outside of
AppDir.
(rsyncfilterdir): New variable.
($(stampdir)/stamp-directories): Create $(appdir)/usr.
(SETVARS): Add pkgrsyncfilter variable.
($(stampdir)/stamp-$(1)-06-copy-to-appdir): New targets.
($(stampdir)/stamp-final-$(1)): Depend on new target.
(clean-appimage): Remove build directory and installation directory
instead of (unremovable in Docker container) root directory.
src/appimage/rsync-filters/*.rsync-filter: New.

With this change all packages are installed into an installation
directory and then only the files needed for the AppImage are copied
to the AppDir. This is done using rsync filter files.

Details

Provenance
ikloeckerAuthored on Oct 4 2021, 2:50 PM
Parents
rW9530adb58bd8: Fix EXTRA_DIST
Branches
Unknown
Tags
Unknown
Tasks
T5592: AppImage of Kleopatra