From 72ab2fc10001d05825f09d1a59f641d60b3f3d70 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 15 Mar 2025 15:32:03 +0200 Subject: [PATCH] Update package version to 6.12.19 --- pkg.info | 2 +- source.sh | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/pkg.info b/pkg.info index 64d48a6..e4d97ed 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: linux-lts description: The longterm support version of the linux kernel -version: 6.12.17 +version: 6.12.19 url: https://www.kernel.org/ license: GPL2-only architecture: any diff --git a/source.sh b/source.sh index 95d834f..2bf12fa 100644 --- a/source.sh +++ b/source.sh @@ -26,13 +26,19 @@ build() { # The package function is executed in the source directory # This function is used to move the compiled files into the output directory package() { + # Install kernel modules make INSTALL_MOD_PATH="$BPM_OUTPUT" modules_install - mkdir -p "$BPM_OUTPUT"/boot - cp -v arch/x86/boot/bzImage "$BPM_OUTPUT"/boot/vmlinuz-"$BPM_PKG_VERSION"-tide - cp -v .config "$BPM_OUTPUT"/boot/config-"$BPM_PKG_VERSION"-tide + + # Install kernel image and config + install -Dm644 arch/x86/boot/bzImage "$BPM_OUTPUT"/boot/vmlinuz-"$BPM_PKG_VERSION"-tide + install -Dm644 .config "$BPM_OUTPUT"/boot/config-"$BPM_PKG_VERSION"-tide + + # Install kernel headers find usr/include -type f ! -name '*.h' -delete - mkdir -p "$BPM_OUTPUT"/usr/include + install -d "$BPM_OUTPUT"/usr/include cp -r usr/include/. "$BPM_OUTPUT"/usr/include/ - mkdir -p "$BPM_OUTPUT"/usr/share/doc/ - cp -r Documentation -T "$BPM_OUTPUT"/usr/share/doc/linux-"$BPM_PKG_VERSION"-tide + + # Install documentation + install -d "$BPM_OUTPUT"/usr/share/doc/ + cp -r Documentation "$BPM_OUTPUT"/usr/share/doc/linux-"$BPM_PKG_VERSION"-tide }