From b1425b1f379c83db23625d4a944d32bc56feb055 Mon Sep 17 00:00:00 2001 From: Apachez Date: Sat, 2 Sep 2023 03:23:17 +0200 Subject: T5510: Shrink imagesize and improve read performance by changing mksquashfs syntax --- data/defaults.toml | 2 +- scripts/build-vyos-image | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/defaults.toml b/data/defaults.toml index c036382c..4d65427a 100644 --- a/data/defaults.toml +++ b/data/defaults.toml @@ -17,7 +17,7 @@ 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" +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" diff --git a/scripts/build-vyos-image b/scripts/build-vyos-image index 3ab42c69..5d07afca 100755 --- a/scripts/build-vyos-image +++ b/scripts/build-vyos-image @@ -428,7 +428,7 @@ if __name__ == "__main__": --bootloader {{bootloaders}} \ --binary-images iso-hybrid \ --checksums 'sha256 md5' \ - --chroot-squashfs-compression-type {{chroot-squashfs-compression-type}} \ + --chroot-squashfs-compression-type {{squashfs_compression_type}} \ --debian-installer none \ --distribution {{debian_distribution}} \ --iso-application "VyOS" \ -- cgit v1.2.3