From 9774e13b4950a48039bfa32f7dbce59142a32a93 Mon Sep 17 00:00:00 2001 From: Werner <3305006+EvilOlaf@users.noreply.github.com> Date: Fri, 19 Dec 2025 13:00:56 +0100 Subject: [PATCH] add zstd image compression (#860) * add zstd image compression * use sub-bulletpoints for compression level for each method * adjust available compression levels --- docs/Developer-Guide_Build-Switches.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/Developer-Guide_Build-Switches.md b/docs/Developer-Guide_Build-Switches.md index 373bdd76..9d4de4a5 100644 --- a/docs/Developer-Guide_Build-Switches.md +++ b/docs/Developer-Guide_Build-Switches.md @@ -359,7 +359,9 @@ Example: - sha: generate SHA256 hash for image - gpg: sign image using gpg - xz: compress image only using xz format -- **IMAGE_XZ_COMPRESSION_RATIO** ( **1** - 9 ) images compression levels when using xz compressor. Beware of memory consumption when going higher + - **IMAGE_XZ_COMPRESSION_RATIO** ( 0 - **1** - 9 ) images compression levels when using xz compressor. Beware of memory consumption when going higher + - zstd: compress image only using zstd format + - **ZSTD_COMPRESSION_LEVEL** ( 1 - **9** - 19 ) images compression levels when using zstd compressor. Beware of memory consumption when going higher - **SEVENZIP** ( yes | **no** ): create .7z archive with extreme compression ratio instead of .zip - **BUILD_KSRC** ( **yes** | no ): create kernel source packages while building... - **INSTALL_KSRC** ( yes | **no** ): ... and pre-install these kernel sources on the image