[arch-commits] Commit in linux-lts/trunk (PKGBUILD)

Christian Hesse eworm at archlinux.org
Sun Nov 25 20:25:55 UTC 2018


    Date: Sunday, November 25, 2018 @ 20:25:55
  Author: eworm
Revision: 340393

prepare for hiberation with latest systemd

Modified:
  linux-lts/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++++
 1 file changed, 4 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-25 20:06:29 UTC (rev 340392)
+++ PKGBUILD	2018-11-25 20:25:55 UTC (rev 340393)
@@ -105,6 +105,10 @@
   make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}/usr" modules_install
   cp arch/x86/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}"
 
+  # systemd expects to find the kernel here to allow hibernation
+  # https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
+  ln -sr "${pkgdir}/boot/vmlinuz-${pkgbase}" "${pkgdir}/usr/lib/modules/${_kernver}/vmlinuz"
+
   # make room for external modules
   local _extramodules="extramodules-${_basekernel}${_kernelname:--lts}"
   ln -s "../${_extramodules}" "${pkgdir}/usr/lib/modules/${_kernver}/extramodules"



More information about the arch-commits mailing list