summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorgraysky2017-11-08 15:40:55 -0500
committergraysky2017-11-08 15:40:55 -0500
commitfb48305a582e6b714ec7ca54c7fb9d8e3c095e8b (patch)
treecd01345340c0b3b94c250e388b0cab5da7b6c91b /PKGBUILD
parent5e5248e6d39b4839966f9fe0996ab3b8cd117ce6 (diff)
downloadaur-fb48305a582e6b714ec7ca54c7fb9d8e3c095e8b.tar.gz
Update to 4.13.12-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD41
1 files changed, 17 insertions, 24 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4c25c62d6ac..1de9ee49a54 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -40,9 +40,9 @@ _use_current=
pkgbase=linux-ck
_srcname=linux-4.13
pkgver=4.13.12
-pkgrel=1
+pkgrel=2
_ckpatchversion=1
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="https://wiki.archlinux.org/index.php/Linux-ck"
license=('GPL2')
makedepends=('kmod' 'inetutils' 'bc' 'libelf')
@@ -57,8 +57,8 @@ source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
"$_gcc_patch::https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v4.9%2B_kernel_v4.13%2B.patch"
'unfuck_bfq_v2.patch'
"http://ck.kolivas.org/patches/4.0/4.13/4.13-ck1/patches/0015-Enable-and-make-BFQ-default-IO-scheduler-overriding-.patch"
- # the main kernel config files
- 'config.i686' 'config.x86_64'
+ # the main kernel config file
+ 'config'
# pacman hook for initramfs regeneration
'90-linux.hook'
# standard config files for mkinitcpio ramdisk
@@ -71,7 +71,6 @@ sha256sums=('2db3d6066c3ad93eb25b973a3d2951e022a7e975ee2fa7cbe5bddf84d9a49a2c'
'8b00041911e67654b0bd9602125853a1a94f6155c5cac4f886507554c8324ee8'
'8b8c0c1cef459d629fd416aa970c00844a56b67625e128444792dc672430cbdc'
'e25c4b7be8568534e7ae9cfc6986fab262f4b8943a3f13155c2a2a17386a52fb'
- '10c09ca210f0a44fcfde9d8159be79f8c22e6b1a0da5c84eb32e51deb1e4a707'
'32b040b5a98a01139d4d62fae26ae222f33c45fe9667e072e1e753aac72c8643'
'834bd254b56ab71d73f59b3221f056c72f559553c04718e350ab2a3e2991afe0'
'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65')
@@ -103,24 +102,22 @@ prepare() {
# Clean tree and copy ARCH config over
make mrproper
- cp -Tf ../config.${CARCH} .config
+ cp -Tf ../config .config
### Optionally disable NUMA for 64-bit kernels only
# (x86 kernels do not support NUMA)
if [ -n "$_NUMAdisable" ]; then
- if [ "${CARCH}" = "x86_64" ]; then
- msg "Disabling NUMA from kernel config..."
- sed -i -e 's/CONFIG_NUMA=y/# CONFIG_NUMA is not set/' \
- -i -e '/CONFIG_AMD_NUMA=y/d' \
- -i -e '/CONFIG_X86_64_ACPI_NUMA=y/d' \
- -i -e '/CONFIG_NODES_SPAN_OTHER_NODES=y/d' \
- -i -e '/# CONFIG_NUMA_EMU is not set/d' \
- -i -e '/CONFIG_NODES_SHIFT=6/d' \
- -i -e '/CONFIG_NEED_MULTIPLE_NODES=y/d' \
- -i -e '/# CONFIG_MOVABLE_NODE is not set/d' \
- -i -e '/CONFIG_USE_PERCPU_NUMA_NODE_ID=y/d' \
- -i -e '/CONFIG_ACPI_NUMA=y/d' ./.config
- fi
+ msg "Disabling NUMA from kernel config..."
+ sed -i -e 's/CONFIG_NUMA=y/# CONFIG_NUMA is not set/' \
+ -i -e '/CONFIG_AMD_NUMA=y/d' \
+ -i -e '/CONFIG_X86_64_ACPI_NUMA=y/d' \
+ -i -e '/CONFIG_NODES_SPAN_OTHER_NODES=y/d' \
+ -i -e '/# CONFIG_NUMA_EMU is not set/d' \
+ -i -e '/CONFIG_NODES_SHIFT=6/d' \
+ -i -e '/CONFIG_NEED_MULTIPLE_NODES=y/d' \
+ -i -e '/# CONFIG_MOVABLE_NODE is not set/d' \
+ -i -e '/CONFIG_USE_PERCPU_NUMA_NODE_ID=y/d' \
+ -i -e '/CONFIG_ACPI_NUMA=y/d' ./.config
fi
### Optionally use running kernel's config
@@ -172,7 +169,7 @@ prepare() {
yes "" | make config >/dev/null
# save configuration for later reuse
- cat .config > "${startdir}/config.${CARCH}.last"
+ cat .config > "${startdir}/config.last"
}
build() {
@@ -262,10 +259,6 @@ _package-headers() {
install -Dt "${_builddir}/arch/${KARCH}" -m644 arch/${KARCH}/Makefile
install -Dt "${_builddir}/arch/${KARCH}/kernel" -m644 arch/${KARCH}/kernel/asm-offsets.s
- if [[ ${CARCH} = i686 ]]; then
- install -t "${_builddir}/arch/${KARCH}" -m644 arch/${KARCH}/Makefile_32.cpu
- fi
-
cp -t "${_builddir}/arch/${KARCH}" -a arch/${KARCH}/include
install -Dt "${_builddir}/drivers/md" -m644 drivers/md/*.h