home: hub: mkinitfs

Download patch

ref: 7005b1938186e5f75e2e2259e01a85e88a83489d
parent: 59204d36985de5ba2444d5f3e0d50a119287ec51
parent: 830b8ddcfd00c7868cba75a03083f9c93dcc4448
author: Natanael Copa <ncopa@alpinelinux.org>
date: Tue Dec 22 05:21:16 CST 2020

Merge branch 'add-zstd-support' into 'master'

Add zstd compression support

See merge request alpine/mkinitfs!75

--- a/mkinitfs.in
+++ b/mkinitfs.in
@@ -280,6 +280,7 @@
 case "$initfscomp" in
 	gzip) comp="$(command -v pigz 2>/dev/null || echo gzip) -9" ;;
 	xz) cmd_exists xz; comp="xz -C crc32 -T 0" ;;
+	zstd) cmd_exists zstd; comp="zstd -19" ;;
 	*) echo "Initramfs compression \"$initfscomp\" not supported!"; exit 1 ;;
 esac