summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-rt/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-06-26 23:52:51 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-06-26 23:52:51 -0300
commit20b14c11dc4acaa6c4fe078560dc0903c778d67e (patch)
tree742935ca866163592a45859b942fae199e409190 /kernels/linux-libre-rt/PKGBUILD
parent23333c5f52d8e67834b312e88de9047e9fb7504a (diff)
downloadabslibre-20b14c11dc4acaa6c4fe078560dc0903c778d67e.tar.gz
abslibre-20b14c11dc4acaa6c4fe078560dc0903c778d67e.tar.bz2
abslibre-20b14c11dc4acaa6c4fe078560dc0903c778d67e.zip
linux-libre-rt-3.4.4_rt13-1: updating version
Diffstat (limited to 'kernels/linux-libre-rt/PKGBUILD')
-rw-r--r--kernels/linux-libre-rt/PKGBUILD51
1 files changed, 29 insertions, 22 deletions
diff --git a/kernels/linux-libre-rt/PKGBUILD b/kernels/linux-libre-rt/PKGBUILD
index 9c07ee16c..9cf182305 100644
--- a/kernels/linux-libre-rt/PKGBUILD
+++ b/kernels/linux-libre-rt/PKGBUILD
@@ -4,17 +4,17 @@
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Thomas Baechler <thomas@archlinux.org>
# Maintainer (Parabola): Nicolás Reynolds <fauno@kiwwwi.com.ar>
-# Maintainer (Parabola): Jorge Lopez <jorginho@adinet.com.uy>
-# Maintainer (Parabola): André Silva <andre.paulista@adinet.com.uy>
-# Contributor (Parabola): Márcio Silva <coadde@adinet.com.uy>
+# Maintainer (Parabola): Jorge Lopez <jorginho@lavabit.com>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
pkgbase=linux-libre-rt
pkgname=('linux-libre-rt' 'linux-libre-rt-headers') # Build stock -LIBRE kernel with RT support
# pkgname=linux-custom # Build kernel with a different name
_kernelname=-LIBRE-RT
-_basekernel=3.2
-_releasever=19
-_rtpatchver=rt30
+_basekernel=3.4
+_releasever=4
+_rtpatchver=rt13
_pkgver=${_basekernel}.${_releasever}
pkgver=${_basekernel}.${_releasever}_${_rtpatchver}
pkgrel=1
@@ -25,7 +25,7 @@ makedepends=('xmlto' 'docbook-xsl')
options=('!strip')
source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gnu/linux-libre-${_basekernel}-gnu.tar.xz"
"http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}-gnu/patch-${_basekernel}-gnu-${_pkgver}-gnu.xz"
- "http://www.kernel.org/pub/linux/kernel/projects/rt/3.2/patch-${_pkgver}-${_rtpatchver}.patch.xz"
+ "http://www.kernel.org/pub/linux/kernel/projects/rt/3.4/patch-${_pkgver}-${_rtpatchver}.patch.xz"
# the main kernel config files
'config.i686' 'config.x86_64'
# standard config files for mkinitcpio ramdisk
@@ -33,17 +33,19 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gn
'boot-logo.patch'
'change-default-console-loglevel.patch'
'i915-fix-ghost-tv-output.patch'
- 'ext4-options.patch')
-md5sums=('65c669b6e4888db84a80882461851867'
- '87d9a426bda3bdc58fcb5f002c459adb'
- 'bb7b98d1186edd0544cefc7499d3740b'
- '824bb5f926d00d499f3a2a68f06d9760'
- '84d96cded290680ec2b875e2223deff9'
+ '3.4.4-fix-backlight-regression.patch'
+ '3.4.4-fix-gtx560ti-nouveau-regression.patch')
+md5sums=('a5e128ca059cceb8b69148b41ff4ac6f'
+ 'e9bb311ab329555a61696b1a18df2d34'
+ '6d4beaa5ec54f86f91f66c77a5bcc8f4'
+ 'd176ceb303ecfb2303d9659ea2dd91c7'
+ 'bcb219ab37ed19912126189cfca30538'
'82496e68851d1960543a07ba51cdb44a'
'04b21c79df0a952c22d681dd4f4562df'
- '9d3c56a4b999c8bfbd4018089a62f662'
+ '9d3c56a4b999c8bfbd4018089a62f662'
'263725f20c0b9eb9c353040792d644e5'
- 'c8299cf750a84e12d60b372c8ca7e1e8')
+ '80a46681386bb87813989faeb92bdd9a'
+ '827ffd855dc8b0c91577545c5804c19f')
build() {
cd "${srcdir}/linux-${_basekernel}"
@@ -67,16 +69,21 @@ build() {
# needed.
patch -Np1 -i "${srcdir}/i915-fix-ghost-tv-output.patch"
- # Patch submitted upstream, waiting for inclusion:
+ # Fix backlight control on some laptops:
+ # https://bugzilla.kernel.org/show_bug.cgi?id=43168
+ msg "patch for backlight regression"
+ patch -Np1 -i "${srcdir}/3.4.4-fix-backlight-regression.patch"
+
+ # fix nouveau regression
+ # Arch Linux bug report: FS#30417
+ msg "patch for gtx560ti-nouveau regression"
+ patch -Np1 -i "${srcdir}/3.4.4-fix-gtx560ti-nouveau-regression.patch"
+
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
# remove this when a Kconfig knob is made available by upstream
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch"
- # fix ext4 module to mount ext3/2 correct
- # https://bugs.archlinux.org/task/28653
- patch -Np1 -i "${srcdir}/ext4-options.patch"
-
cat "${srcdir}/config.${CARCH}" > ./.config # simpler
if [ "${_kernelname}" != "" ]; then
@@ -179,7 +186,7 @@ package_linux-libre-rt-headers() {
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include"
for i in acpi asm-generic config crypto drm generated linux math-emu \
- media net pcmcia scsi sound trace video xen; do
+ media mtd net pcmcia scsi sound trace video xen; do
cp -a include/${i} "${pkgdir}/usr/src/linux-${_kernver}/include/"
done
@@ -285,6 +292,6 @@ package_linux-libre-rt-headers() {
done
# remove unneeded architectures
- rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
+ rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,xtensa}
}