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_featurebranch:
|
||||||
<<: *squashfs_template
|
<<: *squashfs_template
|
||||||
variables:
|
variables:
|
||||||
COMPRESSION_LEVEL: 5
|
COMPRESSION_LEVEL: 4
|
||||||
except:
|
except:
|
||||||
variables:
|
variables:
|
||||||
- $task == "security-scanner"
|
- $task == "security-scanner"
|
||||||
|
|
@ -101,7 +101,7 @@ squashfs_featurebranch:
|
||||||
squashfs_master:
|
squashfs_master:
|
||||||
<<: *squashfs_template
|
<<: *squashfs_template
|
||||||
variables:
|
variables:
|
||||||
COMPRESSION_LEVEL: 7
|
COMPRESSION_LEVEL: 15
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
- master
|
- master
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ provisioners:
|
||||||
- squashfs_content="$(find / -mindepth 1 -maxdepth 1 | grep -vE '^/(proc|sys|tmp|[.]dockerenv|packer-files)$')"
|
- 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`}}'
|
mksquashfs $squashfs_content /tmp/extra/* '/tmp/images/{{user `squashfs_file`}}'
|
||||||
-comp lzo
|
-comp zstd
|
||||||
-Xcompression-level {{user `compression_level`}}
|
-Xcompression-level {{user `compression_level`}}
|
||||||
-ef /tmp/ignore_files
|
-ef /tmp/ignore_files
|
||||||
type: shell
|
type: shell
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue