diff options
author | Kyle De'Vir | 2018-12-01 13:48:26 +1000 |
---|---|---|
committer | Kyle De'Vir | 2018-12-01 13:48:26 +1000 |
commit | 664354b7256f813f7b1662c6982521a3c6182ccf (patch) | |
tree | c826d649cae8e4f65df9ddef3db82b2c11042577 /PKGBUILD | |
parent | bbd277c436e197868d7492ed124aaaa5d1c8c7e4 (diff) | |
download | aur-664354b7256f813f7b1662c6982521a3c6182ccf.tar.gz |
4.19.5
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 6 insertions, 9 deletions
@@ -26,7 +26,7 @@ _makenconfig= _localmodcfg= pkgbase=linux-zen-bcachefs-git -_srcver=4.19.4-zen1 +_srcver=4.19.5-zen1 pkgver=${_srcver//-/.} pkgrel=1 arch=(x86_64) @@ -119,22 +119,19 @@ _package() { install=linux.install local kernver="$(<version)" + local modulesdir="$pkgdir/usr/lib/modules/$kernver" cd $_srcname msg2 "Installing boot image..." - local image="$pkgdir/boot/vmlinuz-$pkgbase" - install -Dm644 "$(make -s image_name)" "$image" + # systemd expects to find the kernel here to allow hibernation + # https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344 + install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz" + install -Dm644 "$modulesdir/vmlinuz" "$pkgdir/boot/vmlinuz-$pkgbase" 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" |