summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoregnappahz2021-01-24 10:48:10 +0100
committeregnappahz2021-01-24 10:48:10 +0100
commitf9ca630814112b473ac8cbbc6d7976eb4afe9930 (patch)
treedf59538280fe5e0d0d3d7776bbeff883b8a29a30 /PKGBUILD
parent362460d38b360f2fd236ad6a2d931795a6bcdffe (diff)
downloadaur-f9ca630814112b473ac8cbbc6d7976eb4afe9930.tar.gz
Fixed mkinitcpio hook thx 2 Kryesh
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b076737fe8c..7d65d503811 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgbase=linux-amd-znver2
_srcname=linux
gitver=v5.10.10
pkgver=5.10.v.10
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url="https://www.kernel.org/"
license=('GPL2')
@@ -138,6 +138,10 @@ _package() {
# add vmlinux
install -D -m644 vmlinux "${pkgdir}/usr/lib/modules/${_kernver}/build/vmlinux"
+ # add vmlinuz in /usr/lib/modules/ and info for correct hook triggers
+ cp arch/$KARCH/boot/bzImage "${pkgdir}/usr/lib/modules/${_kernver}/vmlinuz"
+ echo ${pkgbase} > "${pkgdir}/usr/lib/modules/${_kernver}/pkgbase"
+
# add System.map
install -D -m644 System.map "${pkgdir}/boot/System.map-${_kernver}"
}