diff options
author | Kyle De'Vir | 2018-11-23 22:21:52 +1000 |
---|---|---|
committer | Kyle De'Vir | 2018-11-23 22:21:52 +1000 |
commit | aaa09f3feee3ca68899f19467e812953e3de8b2b (patch) | |
tree | c4eae6352cac53bbd3e828820d6640ed45a8a50c | |
parent | 8ea221fa90b1d50aa70b3424dcbe91fbcc2773bf (diff) | |
download | aur-aaa09f3feee3ca68899f19467e812953e3de8b2b.tar.gz |
4.19.4
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 3 deletions
@@ -1,5 +1,5 @@ pkgbase = linux-zen-bcachefs-git - pkgver = 4.19.3 + pkgver = 4.19.4 pkgrel = 1 url = https://evilpiepirate.org/git/ arch = x86_64 @@ -4,7 +4,7 @@ # Contributor: Thomas Baechler <thomas@archlinux.org> pkgbase=linux-zen-bcachefs-git -pkgver=4.19.3 +pkgver=4.19.4 pkgrel=1 arch=(x86_64) url="https://evilpiepirate.org/git/" @@ -87,13 +87,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" |