diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-07-08 20:45:13 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-07-08 20:45:13 +0200 |
| commit | 21c7e66112d3ec360a9902037d086fdb15e4ebeb (patch) | |
| tree | 696d40eea8b9b201c8784ed49c7466ff4a16afe6 /scripts/package-build/linux-kernel/build-ipt-netflow.sh | |
| parent | 12038e88d4fe42617f9cd39ccfd1184a52e5810a (diff) | |
| download | vyos-build-21c7e66112d3ec360a9902037d086fdb15e4ebeb.tar.gz vyos-build-21c7e66112d3ec360a9902037d086fdb15e4ebeb.zip | |
Kernel: T5641: enable module compression to save disk space
After signing the Linux Kernel modules with the ephemeral key, proceed
by compressing the Kernel modules with xz to reduce the final ISO image
size.
Initial tests have shown a size reduction by 60MiB.
Diffstat (limited to 'scripts/package-build/linux-kernel/build-ipt-netflow.sh')
| -rwxr-xr-x | scripts/package-build/linux-kernel/build-ipt-netflow.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package-build/linux-kernel/build-ipt-netflow.sh b/scripts/package-build/linux-kernel/build-ipt-netflow.sh index bae4051b..2c7554fa 100755 --- a/scripts/package-build/linux-kernel/build-ipt-netflow.sh +++ b/scripts/package-build/linux-kernel/build-ipt-netflow.sh @@ -72,6 +72,6 @@ fpm --input-type dir --output-type deb --name vyos-ipt-netflow \ --description "ipt_NETFLOW module" \ --depends linux-image-${KERNEL_VERSION}${KERNEL_SUFFIX} \ --license "GPL2" -C ${IPT_NETFLOW_SRC}/tmp --after-install ${DEBIAN_POSTINST} \ - ipt_NETFLOW.ko=/lib/modules/${KERNEL_VERSION}${KERNEL_SUFFIX}/extra/ipt_NETFLOW.ko \ + ipt_NETFLOW.ko.xz=/lib/modules/${KERNEL_VERSION}${KERNEL_SUFFIX}/extra/ipt_NETFLOW.ko.xz \ libipt_NETFLOW.so=/lib/$(uname -m)-linux-gnu/xtables/libipt_NETFLOW.so \ libip6t_NETFLOW.so=/lib/$(uname -m)-linux-gnu/xtables/libip6t_NETFLOW.so |
