1
0
mirror of https://github.com/rancher/os.git synced 2025-08-01 15:08:47 +00:00

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,
This commit is contained in:
Jan B 2018-09-10 03:20:29 +02:00 committed by niusmallnan
parent e5b1643bfa
commit 29f46a331a

View File

@ -7,7 +7,7 @@ export REPO_VERSION=$VERSION
if [[ -n "$DIRTY" || -z "$GIT_TAG" ]]; then if [[ -n "$DIRTY" || -z "$GIT_TAG" ]]; then
export REPO_VERSION=master export REPO_VERSION=master
fi fi
export COMPRESS="xz --format=lzma -9 --memlimit-compress=80% -e" export COMPRESS="gzip -9"
./scripts/ci ./scripts/ci