From 29f46a331acaab70d1f748f70d999ecd5bc28694 Mon Sep 17 00:00:00 2001 From: Jan B Date: Mon, 10 Sep 2018 03:20:29 +0200 Subject: [PATCH] Switch initrd compression to gzip Decompressing the gzip compressed initial ramdisk during boot takes only 1.5 seconds compared to approx. 15 seconds with lzma. Drawback is an increased size of the image of about 25-30 MB, --- scripts/release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release b/scripts/release index 6d1115ec..631fa080 100755 --- a/scripts/release +++ b/scripts/release @@ -7,7 +7,7 @@ export REPO_VERSION=$VERSION if [[ -n "$DIRTY" || -z "$GIT_TAG" ]]; then export REPO_VERSION=master fi -export COMPRESS="xz --format=lzma -9 --memlimit-compress=80% -e" +export COMPRESS="gzip -9" ./scripts/ci