appdwarf/README.md

34 lines
1.5 KiB
Markdown
Raw Normal View History

appdwarf
2021-05-15 19:34:16 +00:00
=======
2022-03-25 22:40:58 +00:00
A tool to convert an AppDir or an existing [AppImage](https://appimage.org/) file,
either as a local file or from a URL, into a highly compressed portable image using
[dwarfs](https://github.com/mhx/dwarfs).
2021-05-15 19:34:16 +00:00
2022-03-25 22:40:58 +00:00
This is a small script and the bulk of the work is in the original `dwarfs` project,
so all credit deserves to go there and I can not guarantee this script will function
with out issues.
2021-05-15 19:34:16 +00:00
## Requirements
In order to create the images, you will need:
2022-03-25 22:40:58 +00:00
- [dwarfs](https://github.com/mhx/dwarfs), specifically the `dwarfs` and `mkdwarfs` utilities.
- This may in turn require further dependencies, and specifically relies on the presence of FUSE for mounting images.
2021-05-15 19:34:16 +00:00
2022-03-25 22:40:58 +00:00
If you only wish to run an existing image, only `dwarfs` is needed in PATH.
2021-05-15 19:34:16 +00:00
2022-03-25 22:40:58 +00:00
## How to create an appdwarf
2021-05-15 19:34:16 +00:00
2022-03-25 22:40:58 +00:00
For your own programs, simply create an AppImage-style AppDir and run `appdwarf {directory}`.
You can also invoke `appdwarf -a {appimage}` to convert an apimage.
I suggest checking the help (listed via `appdwarf --help`) for other options.
2021-05-15 19:34:16 +00:00
2022-03-25 22:40:58 +00:00
The apps folder contains other scripts for specific programs that will download all necessary files and create a resulting appdwarf in the same folder.
2021-05-15 19:34:16 +00:00
2022-03-25 22:40:58 +00:00
## Known Issues
2021-05-15 19:34:16 +00:00
2022-03-25 22:40:58 +00:00
- Some images may not unmount properly under the default, combined mounting scheme due
to the inability to use lazy unmounting and some programs still making use of the filesystem
when `fusermount -u` is run.
- Can be worked around with the separate header at the cost of memory/CPU usage.