From 0e343ada1831e5f91461753ea1cea0c4eaca1f25 Mon Sep 17 00:00:00 2001 From: Jan Alexander Steffens Date: Tue, 27 Nov 2018 19:09:53 +0000 Subject: [PATCH] Make lib/modules/*/vmlinuz a copy instead of a link This is a step towards allowing kernel-install or similar handling. --- 90-linux.hook | 2 +- PKGBUILD | 17 +++++++---------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/90-linux.hook b/90-linux.hook index be0d886..fca45ab 100644 --- a/90-linux.hook +++ b/90-linux.hook @@ -2,7 +2,7 @@ Type = File Operation = Install Operation = Upgrade -Target = boot/vmlinuz-%PKGBASE% +Target = usr/lib/modules/%KERNVER%/vmlinuz Target = usr/lib/initcpio/* [Action] diff --git a/PKGBUILD b/PKGBUILD index 623a9e2..c8c018b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -28,7 +28,7 @@ validpgpkeys=( sha256sums=('SKIP' 'e7fa30bb2de12d1a2488423e27c00f26d55668e310e69aaf93673c1afd89dbaf' 'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21' - '75f99f5239e03238f88d1a834c50043ec32b1dc568f2cc291b07d04718483919' + 'c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636' 'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65') _kernelname=${pkgbase#linux} @@ -73,21 +73,18 @@ _package() { install=linux.install local kernver="$(