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:
parent
e5b1643bfa
commit
29f46a331a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user