diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -69,7 +69,7 @@ _localmodcfg= ### IMPORTANT: Do no edit below this line unless you know what you're doing pkgbase=linux-ck -_srcver=4.19.3-arch1 +_srcver=4.19.4-arch1 pkgver=${_srcver%-*} pkgrel=1 _ckpatchversion=1 @@ -94,7 +94,7 @@ validpgpkeys=( 'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds '647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman ) -sha256sums=('1e3c5712d4d0fdf307cf6b69d220f8e54def487e41efb0fbabe652a7a9986420' +sha256sums=('a38f5606bba1f5611c798541f6c3d43267b8599d9e3167471d4b662e33ff47aa' 'SKIP' 'e296d89203a7688d69ec94d0c31e95ab83094a6f24f3c53104b3f19954d9e7dc' 'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21' @@ -204,13 +204,18 @@ _package() { cd linux-${pkgver} msg2 "Installing boot image..." - install -Dm644 "$(make -s image_name)" "$pkgdir/boot/vmlinuz-$pkgbase" + local image="$pkgdir/boot/vmlinuz-$pkgbase" + install -Dm644 "$(make -s image_name)" "$image" msg2 "Installing modules..." local modulesdir="$pkgdir/usr/lib/modules/$kernver" mkdir -p "$modulesdir" make INSTALL_MOD_PATH="$pkgdir/usr" modules_install + # systemd expects to find the kernel here to allow hibernation + # https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344 + ln -sr "$image" "$modulesdir/vmlinuz" + # a place for external modules, # with version file for building modules and running depmod from hook local extramodules="extramodules$_kernelname" |