fix watchdog regression

This commit is contained in:
Tobias Powalowski
2012-12-20 19:11:14 +00:00
parent 2ce4d476ba
commit f46e0603ad
3 changed files with 48 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ pkgbase=linux # Build stock -ARCH kernel
#pkgbase=linux-custom # Build kernel with a different name
_srcname=linux-3.7
pkgver=3.7.1
pkgrel=1
pkgrel=2
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
@@ -19,14 +19,16 @@ source=("http://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz"
# standard config files for mkinitcpio ramdisk
'linux.preset'
'change-default-console-loglevel.patch'
'fat-3.6.x.patch')
'fat-3.6.x.patch'
'fix-watchdog-3.7.patch')
md5sums=('21223369d682bcf44bcdfe1521095983'
'48f5f530b048e387e978e3e49de7742a'
'2cf43e0448a8074eb2ff93035168250b'
'58a9ba178fedb244a0a86b760fb4bd81'
'eb14dcfd80c00852ef81ded6e826826a'
'9d3c56a4b999c8bfbd4018089a62f662'
'88d501404f172dac6fcb248978251560')
'88d501404f172dac6fcb248978251560'
'3485d6c7ae3af35d16e09d6d9a7ed32a')
_kernelname=${pkgbase#linux}
@@ -48,6 +50,10 @@ build() {
# https://bugs.archlinux.org/task/32916
patch -Np1 -i "${srcdir}/fat-3.6.x.patch"
# fix watchdog enable/disable regression
# https://bugs.archlinux.org/task/33095
patch -Np1 -i "${srcdir}/fix-watchdog-3.7.patch"
if [ "${CARCH}" = "x86_64" ]; then
cat "${srcdir}/config.x86_64" > ./.config
else