mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-18 02:51:15 +02:00
chore: reduce xz compression level of initramfs (#252)
This commit is contained in:
parent
678951b2c1
commit
090eb78f69
@ -146,11 +146,7 @@ tasks:
|
||||
template: |
|
||||
WORKDIR /initramfs
|
||||
RUN cp -R {{ index .Variables "rootfs" }}/* ./
|
||||
{{ if .Git.IsClean }}
|
||||
RUN find . 2>/dev/null | cpio -H newc -o | xz -v -C crc32 -9 -e -T 0 -z >/tmp/initramfs.xz
|
||||
{{ else }}
|
||||
RUN find . 2>/dev/null | cpio -H newc -o | xz -v -C crc32 -0 -e -T 0 -z >/tmp/initramfs.xz
|
||||
{{ end }}
|
||||
RUN cp /tmp/initramfs.xz .
|
||||
osctl:
|
||||
template: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user