From fa756130aa57bf171c0a3256ddb1078e56a46b3c Mon Sep 17 00:00:00 2001 From: Dima Krasner Date: Mon, 20 Jan 2020 18:56:20 +0200 Subject: [PATCH] README: make the decompressors list clearer --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7651463..9e938d0 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,17 @@ It is designed to be portable across different devices, therefore it avoids mach ## Implementation -papaw consists of a small executable (~15-40K) containing [XZ Embedded](https://tukaani.org/xz/embedded.html), the [LZMA SDK](https://www.7-zip.org/sdk.html) decompressor, the [Zstandard](https://github.com/facebook/zstd) decompressor or the [miniz](https://github.com/richgel999/miniz) decompressor. It extracts a compressed executable appended to it by the papawify script. +papaw consists of a small executable (~15-40K) containing a decompressor. It extracts a compressed executable appended to it by the papawify script. The payload executable is extracted to a temporary file. When running as root, this is done by mounting a tmpfs file system and lazily unmounting it before the extraction. +## Supported Decompressors + +* [XZ Embedded](https://tukaani.org/xz/embedded.html) (the default) +* The [LZMA SDK](https://www.7-zip.org/sdk.html) decompressor +* The [Zstandard](https://github.com/facebook/zstd) decompressor +* [miniz](https://github.com/richgel999/miniz) + ## Usage papaw uses [Meson](http://mesonbuild.com/) as its build system. To pack an executable using papaw, build papaw, then use papawify to pack the executable.