squashfs: Use zstd instead of lzo

This commit is contained in:
Jakob Lechner 2020-01-24 21:37:57 +01:00
parent 762869b77c
commit 77ba548a73
2 changed files with 3 additions and 3 deletions

View file

@ -91,7 +91,7 @@ security_scanner:
squashfs_featurebranch:
<<: *squashfs_template
variables:
COMPRESSION_LEVEL: 5
COMPRESSION_LEVEL: 4
except:
variables:
- $task == "security-scanner"
@ -101,7 +101,7 @@ squashfs_featurebranch:
squashfs_master:
<<: *squashfs_template
variables:
COMPRESSION_LEVEL: 7
COMPRESSION_LEVEL: 15
only:
refs:
- master

View file

@ -90,7 +90,7 @@ provisioners:
- squashfs_content="$(find / -mindepth 1 -maxdepth 1 | grep -vE '^/(proc|sys|tmp|[.]dockerenv|packer-files)$')"
- >
mksquashfs $squashfs_content /tmp/extra/* '/tmp/images/{{user `squashfs_file`}}'
-comp lzo
-comp zstd
-Xcompression-level {{user `compression_level`}}
-ef /tmp/ignore_files
type: shell