summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorgraysky2018-08-27 20:43:02 -0400
committergraysky2018-08-27 20:43:02 -0400
commit6e624625fb6e72ba2ebcea74641d245aa4a67795 (patch)
tree61512a2d3c9c305829f891dbad6101836c5f2c1c /PKGBUILD
parent7574ccd5abcc9008bc2d44f0176ddf7c75533348 (diff)
downloadaur-6e624625fb6e72ba2ebcea74641d245aa4a67795.tar.gz
Update to 4.18.5-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 16 insertions, 21 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bb3fc0baffb..f73116fd2e6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -69,16 +69,16 @@ _localmodcfg=
### IMPORTANT: Do no edit below this line unless you know what you're doing
pkgbase=linux-ck
-_srcver=4.17.11-arch1
+_srcver=4.18.5-arch1
pkgver=${_srcver%-*}
-pkgrel=6
+pkgrel=1
_ckpatchversion=1
arch=(x86_64)
url="https://wiki.archlinux.org/index.php/Linux-ck"
license=(GPL2)
makedepends=(kmod inetutils bc libelf)
options=('!strip')
-_ckpatchname="patch-4.17-ck${_ckpatchversion}"
+_ckpatchname="patch-4.18-ck${_ckpatchversion}"
_gcc_more_v='20180509'
source=(
"https://www.kernel.org/pub/linux/kernel/v4.x/linux-$pkgver.tar".{xz,sign}
@@ -87,30 +87,26 @@ source=(
90-linux.hook # pacman hook for initramfs regeneration
linux.preset # standard config files for mkinitcpio ramdisk
"enable_additional_cpu_optimizations-$_gcc_more_v.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/$_gcc_more_v.tar.gz" # enable_additional_cpu_optimizations_for_gcc
- "http://ck.kolivas.org/patches/4.0/4.17/4.17-ck${_ckpatchversion}/${_ckpatchname}.xz"
+ "http://ck.kolivas.org/patches/4.0/4.18/4.18-ck${_ckpatchversion}/${_ckpatchname}.xz"
0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
- 0002-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch
- 0003-ACPI-watchdog-Prefer-iTCO_wdt-always-when-WDAT-table.patch
- 0004-mac80211-disable-BHs-preemption-in-ieee80211_tx_cont.patch
- 0005-Arch-Linux-kernel-v4.17.14-arch1.patch
+ 0002-drm-i915-Increase-LSPCON-timeout.patch
+ 0003-Arch-Linux-kernel-v4.18.4-arch1.patch
)
validpgpkeys=(
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
)
-sha256sums=('db1e84ed4f213b43d50f3373627b2ffcdb3b65f3430f746a38f801554ef3728c'
+sha256sums=('fb090a3680eddf6f10bf895bc3075bd3f830e3d2429ce469982db5a28df647bd'
'SKIP'
- '3453b5c4c7ce4b44f611050f95488e272119539f812dfde0667fe9c66402fd9b'
+ 'a8b29b439eb40739d142d073be691631436a814fd5a551c6910824dd17851568'
'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21'
'75f99f5239e03238f88d1a834c50043ec32b1dc568f2cc291b07d04718483919'
'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65'
'226e30068ea0fecdb22f337391385701996bfbdba37cdcf0f1dbf55f1080542d'
- '6a0e9cce53da8c55161d01920cc02a09a3b70a60f1050ec91fafd9bb59cb6bb4'
- 'd7bb2655c3fb94639e2e944df64559111db71fcefb30c93a2427f6ea8ef9ce02'
- 'e4cf27e521701cb691384575e9bad853faae49b330d45337ff6f7edf407d3144'
- '1321cbd6e2967a4f76d70d567de23b1e71639a0c6b924d371eb827af3c41a474'
- '08d998cbbe3b51ac8a506775b0fb2c62e19d0f1ec28af56bd019f8b2b80d239d'
- 'daa0d2ef905d20b7ffdac6701083079adf0f6178c1f32a98f95ac0333e132c0c')
+ '0354083492adb3785dd31d2d4bf7dc805110aceffb369deed6cbded121f8a3d3'
+ '723f124ce9910f6e110c59ef2d1a26f8e8f2bc00a42a75e7657ba1ff71f12c06'
+ 'd7d3b3c7509afb1c91da402164c17a18f3d0d5fa9867f188278c6bef2a3186da'
+ '72136fdb875318b751dafe5e81cfd44dacea07711fe2f4a07b7a423454a62531')
_kernelname=${pkgbase#linux}
: ${_kernelname:=-ARCH}
@@ -196,7 +192,6 @@ prepare() {
build() {
cd linux-${pkgver}
-
make bzImage modules
}
@@ -233,11 +228,7 @@ _package() {
# remove build and source links
rm "$modulesdir"/{source,build}
- msg2 "Running depmod..."
- depmod -b "$pkgdir/usr" -E Module.symvers -e "$kernver"
-
msg2 "Installing hooks..."
-
# sed expression for following substitutions
local subst="
s|%PKGBASE%|$pkgbase|g
@@ -341,6 +332,10 @@ _package-headers() {
esac
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
+ msg2 "Adding symlink..."
+ mkdir -p "$pkgdir/usr/src"
+ ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase-$pkgver"
+
msg2 "Fixing permissions..."
chmod -Rc u=rwX,go=rX "$pkgdir"
}