diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-01 23:20:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-01 23:20:10 +0200 |
commit | dc126e3b819f08402bf2568cae9dfe75af2e8f1c (patch) | |
tree | 717180086fca2602ef704c6be3a37e3813f25db5 | |
parent | 1e10c349d4cbce933e6d6373c9e011e053ec3b31 (diff) | |
parent | baee59d26a11c1f1105bff632514212383b0650a (diff) | |
download | vyos-build-dc126e3b819f08402bf2568cae9dfe75af2e8f1c.tar.gz vyos-build-dc126e3b819f08402bf2568cae9dfe75af2e8f1c.zip |
Merge pull request #389 from Apachez-/T5510
T5510: Shrink imagesize and improve read performance by changing mksquashfs syntax
-rw-r--r-- | data/defaults.toml | 2 | ||||
-rwxr-xr-x | scripts/build-vyos-image | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/data/defaults.toml b/data/defaults.toml index fe23a7d6..c036382c 100644 --- a/data/defaults.toml +++ b/data/defaults.toml @@ -17,6 +17,8 @@ release_train = "current" kernel_version = "6.1.50" bootloaders = "syslinux,grub-efi" +chroot-squashfs-compression-type = "xz -Xbcj x86 -b 256k -no-recovery -always-use-fragments -no-duplicates" + website_url = "https://vyos.io" support_url = "https://support.vyos.io" bugtracker_url = "https://vyos.dev" diff --git a/scripts/build-vyos-image b/scripts/build-vyos-image index b3b3fc77..3ab42c69 100755 --- a/scripts/build-vyos-image +++ b/scripts/build-vyos-image @@ -425,9 +425,10 @@ if __name__ == "__main__": --bootappend-live-failsafe "live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal console=ttyS0,115200 console=tty0 net.ifnames=0 biosdevname=0" \ --linux-flavours {{kernel_flavor}} \ --linux-packages linux-image-{{kernel_version}} \ - --bootloader {{ bootloaders }} \ + --bootloader {{bootloaders}} \ --binary-images iso-hybrid \ --checksums 'sha256 md5' \ + --chroot-squashfs-compression-type {{chroot-squashfs-compression-type}} \ --debian-installer none \ --distribution {{debian_distribution}} \ --iso-application "VyOS" \ |