summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-02 09:05:02 +0200
committerGitHub <noreply@github.com>2023-09-02 09:05:02 +0200
commit93a3652a1c7663b29b568e733cca0d186fdc4ddf (patch)
tree82d0a7112bd31f77631fd645cb46e70f96878dc8
parentdc126e3b819f08402bf2568cae9dfe75af2e8f1c (diff)
parentb1425b1f379c83db23625d4a944d32bc56feb055 (diff)
downloadvyos-build-93a3652a1c7663b29b568e733cca0d186fdc4ddf.tar.gz
vyos-build-93a3652a1c7663b29b568e733cca0d186fdc4ddf.zip
Merge pull request #390 from Apachez-/T5510
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" \