AppImage / type2-runtime

The runtime is the executable part of every AppImage. It mounts the payload via FUSE and executes the entrypoint.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

type2-runtime GitHub Actions

The runtime is the executable part of every AppImage. It mounts the payload via FUSE and executes the entrypoint.

This repository builds a statically linked runtime for type-2 AppImages in a Alpine Linux chroot with musl libc.

Since the runtime is linked statically, libfuse2 is no longer required on the target system.

Notes for users

As an AppImage user, you do not need this repository, as the AppImage runtime is embedded into every AppImage.

Notes for developers

Please note: This repository is meant to be extremely simple.

  • Do NOT add additional external dependencies or files. Everything shall be implemented in one file. runtime.c
  • Do NOT add a complicated "build system" (like autotools, CMake,...) other than the existing simple Makefile and bash

Binaries are provided on GitHub Releases. Should you need to build the runtime locally or on GitHub Codespaces, the following will build the contents of this repository in an Alpine container:

export ARCHITECTURE=x86_64
./chroot_build.sh # Or execute the steps in it manually

This whole process takes only a few seconds, e.g., on GitHub Codespaces.

About

The runtime is the executable part of every AppImage. It mounts the payload via FUSE and executes the entrypoint.

License:Other


Languages

Language:C 91.3%Language:Shell 7.5%Language:Makefile 1.2%