diff options
author | Yurii Kolesnykov | 2019-02-04 21:19:47 +0100 |
---|---|---|
committer | Yurii Kolesnykov | 2019-02-04 21:19:47 +0100 |
commit | e44bacac5ac509582716501dd75ea13f94411ef4 (patch) | |
tree | 6e06a0f1884d178a94a401b9fd5cf21c42773507 | |
parent | cbfcc247f1ffa237000b9e63e661ed5da3468732 (diff) | |
download | aur-e44bacac5ac509582716501dd75ea13f94411ef4.tar.gz |
5.1.810532.47dd8048a1bf-2
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 6 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = linux-amd-git pkgdesc = Linux kernel with AMDGPU DC patches pkgver = 5.1.810532.47dd8048a1bf - pkgrel = 1 + pkgrel = 2 url = https://cgit.freedesktop.org/~agd5f/linux/ arch = x86_64 license = GPL2 @@ -78,15 +78,17 @@ _package() { install=linux.install local kernver="$(<version)" + local modulesdir="$pkgdir/usr/lib/modules/$kernver" cd $_srcname msg2 "Installing boot image..." - install -Dm644 "$(make -s image_name)" "$pkgdir/boot/vmlinuz-$pkgbase" + # 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 # a place for external modules, @@ -149,7 +151,6 @@ _package-headers() { cp -t "$builddir" -a include cp -t "$builddir/arch/x86" -a arch/x86/include install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s - install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/macros.s install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h |