mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user