diff options
author | Piotr Gorski | 2018-11-22 20:53:02 +0100 |
---|---|---|
committer | Piotr Gorski | 2018-11-22 20:53:02 +0100 |
commit | 0df8186773de76262bcf0f24702e6e2cf38cb634 (patch) | |
tree | 6ff9864552bab02ad761dbcf5de32796f27189c0 /PKGBUILD | |
parent | de1416e99440712f032b8185fb604e3e053fc579 (diff) | |
download | aur-0df8186773de76262bcf0f24702e6e2cf38cb634.tar.gz |
Add vmlinuz symlink for systemd
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -62,7 +62,7 @@ _lqxpatchrel=27 _lqxpatchver=${_lqxpatchname}-${_major}-${_lqxpatchrel} pkgbase=linux-lqx pkgver=4.18.20_2 -pkgrel=1 +pkgrel=2 arch=('x86_64') url="http://liquorix.net/" license=('GPL2') @@ -222,13 +222,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" |