squashfs: Use zstd instead of lzo
This commit is contained in:
parent
762869b77c
commit
77ba548a73
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue