summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorApachez <apachez@gmail.com>2023-09-02 03:23:17 +0200
committerApachez <apachez@gmail.com>2023-09-02 03:23:17 +0200
commitb1425b1f379c83db23625d4a944d32bc56feb055 (patch)
tree82d0a7112bd31f77631fd645cb46e70f96878dc8
parentdc126e3b819f08402bf2568cae9dfe75af2e8f1c (diff)
downloadvyos-build-b1425b1f379c83db23625d4a944d32bc56feb055.tar.gz
vyos-build-b1425b1f379c83db23625d4a944d32bc56feb055.zip
T5510: Shrink imagesize and improve read performance by changing mksquashfs syntax
-rw-r--r--data/defaults.toml2
-rwxr-xr-xscripts/build-vyos-image2
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" \