diff options
author | alzeih | 2019-01-19 22:43:07 +1300 |
---|---|---|
committer | alzeih | 2019-01-19 22:43:07 +1300 |
commit | 60b2bb0874e108953984533b5482d743cd2b68f5 (patch) | |
tree | c12748d0a6adfb0c18b55b3fbe885f508a78ec02 /PKGBUILD | |
parent | 698ed437a0956741cbcf18a732fede278baf3668 (diff) | |
download | aur-60b2bb0874e108953984533b5482d743cd2b68f5.tar.gz |
updpkg: linux-apparmor 4.19.5.arch1-1
Signed-off-by: alzeih <alzeih@users.noreply.github.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -5,7 +5,7 @@ pkgbase=linux-apparmor #pkgbase=linux-custom # Build kernel with a different name -_srcver=4.19.4-arch1 +_srcver=4.19.5-arch1 pkgver=${_srcver//-/.} pkgrel=1 arch=(x86_64) @@ -31,7 +31,7 @@ sha256sums=('SKIP' 'e7fa30bb2de12d1a2488423e27c00f26d55668e310e69aaf93673c1afd89dbaf' '728ea88383ce6c542e2969246036f454395d5412779ffb5299639610b82b21f1' 'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21' - '75f99f5239e03238f88d1a834c50043ec32b1dc568f2cc291b07d04718483919' + 'c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636' 'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65') _kernelname=${pkgbase#linux} @@ -77,22 +77,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" |