A self-extracting SquashFS application builder.
bash
(or compatible [mksh
,busybox
, ...])mksquashfs
squashfuse
Usage: ./build_squashapp [--noembed] [-h|--help] <sourcedir> [<main>]
Options and arguments:
--noembed don't embed runtime into SquashApp
-h, --help show help (this text)
<sourcedir> directory to build SquashApp from
<main> relative path of main executable (default: `basename <sourcedir>`)
For example:
build_squashapp examples/helloworld/ bin/helloworld
This will produce a SquashApp named helloworld.run
.
Just run it like any ordinary executable!
./helloworld.run "${USER}"
Licensed under the MIT License.