summaryrefslogtreecommitdiff
path: root/scripts/package-build/linux-kernel/build-ipt-netflow.sh
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-07-08 20:45:13 +0200
committerChristian Breunig <christian@breunig.cc>2026-07-08 20:45:13 +0200
commit21c7e66112d3ec360a9902037d086fdb15e4ebeb (patch)
tree696d40eea8b9b201c8784ed49c7466ff4a16afe6 /scripts/package-build/linux-kernel/build-ipt-netflow.sh
parent12038e88d4fe42617f9cd39ccfd1184a52e5810a (diff)
downloadvyos-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-xscripts/package-build/linux-kernel/build-ipt-netflow.sh2
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