Create headers split package for DKMS support

This commit is contained in:
2026-05-09 18:35:26 +03:00
parent 2cfd4c8adc
commit b4cd4c00c7
3 changed files with 145 additions and 14 deletions
+20 -2
View File
@@ -1,7 +1,7 @@
name: linux-lts
description: The longterm support version of the linux kernel
version: 6.18.26
revision: 1
revision: 2
url: https://www.kernel.org/
license: GPL2-only
maintainers:
@@ -16,10 +16,15 @@ make_depends:
- libelf
- lld
- llvm
- openssl
- pahole
- perl
- rustc
- rust-bindgen
- rust-src
- xz-utils
- zlib
- zstd
downloads:
- url: https://cdn.kernel.org/pub/linux/kernel/v${BPM_PKG_VERSION%%.*}.x/linux-${BPM_PKG_VERSION}.tar.xz
extract_to: ${BPM_SOURCE}
@@ -28,7 +33,20 @@ downloads:
split_packages:
- name: linux-lts
optional_depends:
- linux-lts-docs
- linux-lts-docs:For documentation
- linux-lts-headers:For building modules
- name: linux-lts-headers
description: The longterm support version of the linux kernel (Headers)
depends:
- linux-lts
- binutils
- lld
- llvm
- openssl
- pahole
- xxhash
- zlib
- zstd
- name: linux-lts-docs
description: The longterm support version of the linux kernel (Documentation)
depends: