Create headers split package for DKMS support

This commit is contained in:
2026-05-09 17:41:01 +03:00
parent 8d68652319
commit 1973e73c2a
3 changed files with 146 additions and 15 deletions
+20 -2
View File
@@ -1,7 +1,7 @@
name: linux-stable
description: The stable version of the linux kernel
version: 7.0.3
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-stable
optional_depends:
- linux-stable-docs
- linux-stable-docs:For documentation
- linux-stable-headers:For building modules
- name: linux-stable-headers
description: The stable version of the linux kernel (Headers)
depends:
- linux-stable
- binutils
- lld
- llvm
- openssl
- pahole
- xxhash
- zlib
- zstd
- name: linux-stable-docs
description: The stable version of the linux kernel (Documentation)
depends: