lalten / 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, libfuse 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

Binaries are provided on GitHub Releases. To build the runtime yourself, run:

docker run -it --rm --volume `pwd`:/workdir alpine:latest /workdir/build.sh

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 97.2%Language:Shell 2.1%Language:Makefile 0.7%