Add zstd for kernel compression

Debian config enables zstd kernel compression which requires the zstd
command-line tool during build.

Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
This commit is contained in:
Ameer Hamza
2025-10-28 20:44:52 +05:00
parent bffb767969
commit b7d58cfaf5

View File

@@ -375,7 +375,7 @@ sources:
EXTRAVERSION: "-production"
PYTHON: "python3"
predepscmd:
- "apt install -y flex bison dwarves libssl-dev devscripts"
- "apt install -y flex bison dwarves libssl-dev devscripts zstd"
# Install dependencies to build perf
- "apt install -y libelf-dev libdw-dev systemtap-sdt-dev libunwind-dev libslang2-dev libperl-dev binutils-dev libiberty-dev python3 python3-setuptools python3-dev liblzma-dev libzstd-dev libcap-dev libnuma-dev libbabeltrace-dev openjdk-21-jdk libcapstone-dev llvm-dev"
# We remove git files because kernel makefile tries to interact with git for determining version
@@ -398,7 +398,7 @@ sources:
env:
EXTRAVERSION: "-debug"
predepscmd:
- "apt install -y flex bison dwarves libssl-dev devscripts"
- "apt install -y flex bison dwarves libssl-dev devscripts zstd"
# We remove git files because kernel makefile tries to interact with git for determining version
# which results in misconfigured version due to our debian based changes
- "rm -rf .git .gitattributes .gitignore"