diff options
author | Matteo De Carlo | 2018-11-27 14:24:51 +0100 |
---|---|---|
committer | Matteo De Carlo | 2018-11-27 14:24:51 +0100 |
commit | 520721bbc3c389215ae41e2a611cc0ab82b7d6d3 (patch) | |
tree | 894627b6f4099aa8228a12a3d5307d7e6d9674df /PKGBUILD | |
parent | a6c1142277651ee9f8aaaf9ebacbcdcf7c2bc985 (diff) | |
download | aur-520721bbc3c389215ae41e2a611cc0ab82b7d6d3.tar.gz |
Update to 4.19.4
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -5,7 +5,7 @@ # Contributor: Thomas Baechler <thomas at archlinux dot org> pkgbase=linux-covolunablu-gaming -_srcver=4.19.3-arch1 +_srcver=4.19.4-arch1 pkgver=${_srcver//-/.} pkgrel=1 arch=(x86_64) @@ -94,13 +94,18 @@ _package() { cd $_srcname 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" |