generated from archlinux/template
start 3.15 cycle
This commit is contained in:
35
PKGBUILD
35
PKGBUILD
@@ -3,8 +3,8 @@
|
||||
|
||||
pkgbase=linux # Build stock -ARCH kernel
|
||||
#pkgbase=linux-custom # Build kernel with a different name
|
||||
_srcname=linux-3.14
|
||||
pkgver=3.14.6
|
||||
_srcname=linux-3.15
|
||||
pkgver=3.15
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.kernel.org/"
|
||||
@@ -12,29 +12,19 @@ license=('GPL2')
|
||||
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
|
||||
options=('!strip')
|
||||
source=("https://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz"
|
||||
"https://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
|
||||
#"https://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
|
||||
# the main kernel config files
|
||||
'config' 'config.x86_64'
|
||||
# standard config files for mkinitcpio ramdisk
|
||||
'linux.preset'
|
||||
'change-default-console-loglevel.patch'
|
||||
'0001-Bluetooth-allocate-static-minor-for-vhci.patch'
|
||||
'0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch'
|
||||
'0003-module-remove-MODULE_GENERIC_TABLE.patch'
|
||||
'0006-genksyms-fix-typeof-handling.patch'
|
||||
'0012-fix-saa7134.patch'
|
||||
)
|
||||
|
||||
sha256sums=('61558aa490855f42b6340d1a1596be47454909629327c49a5e4e10268065dffa'
|
||||
'b8de86f64a62ec1f5d62ef7b0caf302546be0d397e7c7d29e4b1e260220462d7'
|
||||
'73056e6f23119c53c79f36f4c2faf37dd5a195d63605fa26392aa11ae9edfb62'
|
||||
'f44bd4a40f9ce0675a5601c4a1e1688c7368118c4a5374be9832611b348eb956'
|
||||
sha256sums=('c3927e87be4040fa8aca1b58663dc0776aaf00485604ff88a623be2f3fb07794'
|
||||
'3d3833b51196d3ea35225ddeec5ba4e3fb82f0f308854ca11247d449d8ac732e'
|
||||
'1cfedc1c777ef0d3543abeb58fbee2284b8b5738754bd0ba747a2a2c75efe0f6'
|
||||
'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c'
|
||||
'faced4eb4c47c4eb1a9ee8a5bf8a7c4b49d6b4d78efbe426e410730e6267d182'
|
||||
'6d72e14552df59e6310f16c176806c408355951724cd5b48a47bf01591b8be02'
|
||||
'52dec83a8805a8642d74d764494acda863e0aa23e3d249e80d4b457e20a3fd29'
|
||||
'65d58f63215ee3c5f9c4fc6bce36fc5311a6c7dbdbe1ad29de40647b47ff9c0d'
|
||||
'cf2e7a2d00787f754028e7459688c2755a406e632ce48b60952fa4ff7ed6f4b7'
|
||||
'79359454c9d8446eb55add2b1cdbf8332bd67dafb01fefb5b1ca090225f64d18')
|
||||
|
||||
_kernelname=${pkgbase#linux}
|
||||
@@ -43,7 +33,7 @@ prepare() {
|
||||
cd "${srcdir}/${_srcname}"
|
||||
|
||||
# add upstream patch
|
||||
patch -p1 -i "${srcdir}/patch-${pkgver}"
|
||||
#patch -p1 -i "${srcdir}/patch-${pkgver}"
|
||||
|
||||
# add latest fixes from stable queue, if needed
|
||||
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
|
||||
@@ -53,17 +43,6 @@ prepare() {
|
||||
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
|
||||
patch -p1 -i "${srcdir}/change-default-console-loglevel.patch"
|
||||
|
||||
# Fix vhci warning in kmod (to restore every kernel maintainer's sanity)
|
||||
patch -p1 -i "${srcdir}/0001-Bluetooth-allocate-static-minor-for-vhci.patch"
|
||||
|
||||
# Fix atkbd aliases
|
||||
patch -p1 -i "${srcdir}/0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch"
|
||||
patch -p1 -i "${srcdir}/0003-module-remove-MODULE_GENERIC_TABLE.patch"
|
||||
|
||||
# Fix generation of symbol CRCs
|
||||
# http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dc53324060f324e8af6867f57bf4891c13c6ef18
|
||||
patch -p1 -i "${srcdir}/0006-genksyms-fix-typeof-handling.patch"
|
||||
|
||||
# fix saa7134 video
|
||||
# https://bugs.archlinux.org/task/39904
|
||||
# https://bugzilla.kernel.org/show_bug.cgi?id=73361
|
||||
|
||||
Reference in New Issue
Block a user