mirror of
https://github.com/truenas/scale-build.git
synced 2026-02-14 23:18:59 +00:00
Add zstd package for 6.18 kernel build
The 6.18 kernel's Debian config enables zstd kernel compression, which requires the zstd command-line tool to be available during build. Add zstd to predepscmd for both production and debug kernel builds.
This commit is contained in:
@@ -376,7 +376,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
|
||||
@@ -399,7 +399,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"
|
||||
|
||||
Reference in New Issue
Block a user