mirror of
https://github.com/truenas/scale-build.git
synced 2026-02-14 23:18:59 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user