summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-rt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'kernels/linux-libre-rt/PKGBUILD')
-rw-r--r--kernels/linux-libre-rt/PKGBUILD43
1 files changed, 24 insertions, 19 deletions
diff --git a/kernels/linux-libre-rt/PKGBUILD b/kernels/linux-libre-rt/PKGBUILD
index a7932947e..702b74670 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): André Silva <emulatorman@parabola.nu>
-# Contributor (Parabola): Márcio Silva <coadde@lavabit.com>
+# Contributor (Parabola): Márcio Silva <coadde@parabola.nu>
pkgbase=linux-libre-rt # Build stock -LIBRE-RT kernel
#pkgbase=linux-libre-custom # Build kernel with a different name
-_basekernel=3.10
-_releasever=18
-_rtpatchver=rt14
+_basekernel=3.12
+_releasever=1
+_rtpatchver=rt4
_pkgver=${_basekernel}.${_releasever}
pkgver=${_basekernel}.${_releasever}_${_rtpatchver}
-pkgrel=1
-_lxopkgver=${_basekernel}.18 # nearly always the same as pkgver
+pkgrel=3
+_lxopkgver=${_basekernel}.1 # nearly always the same as pkgver
arch=('i686' 'x86_64' 'mips64el')
url="http://linux-libre.fsfla.org/"
license=('GPL2')
@@ -32,21 +32,21 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gn
'boot-logo.patch'
'change-default-console-loglevel.patch'
'criu-no-expert.patch'
- '3.10.6-logitech-dj.patch'
+ '3.12-btrfs-relocate-csums.patch'
"http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/linux-patches-${_lxopkgver}-gnu_0loongsonlibre_mipsel.tar.bz2")
-md5sums=('d562fd52580a3b6b18b6eeb5921d1d5c'
- '0f00cf79344064990fa443d50f58f695'
- 'cb40a1a152801583e0b1e699c0234417'
- 'aee046ea7320dce066bb180facd7262a'
- 'c21fb94a198752879b059a08d73cd3a6'
+md5sums=('254f59707b6676b59ce5ca5c3c698319'
+ '0e52518b2bdf3aa7af0c63a4acfd7957'
+ '51903e8f56e0447ef995420dd76c5929'
+ '763ea5dab2371ea4b6f5316d04976c1e'
+ 'c23c8abbbbf8f29a2bf5ed94b2b7decc'
'82496e68851d1960543a07ba51cdb44a'
'2967cecc3af9f954ccc822fd63dca6ff'
'8267264d9a8966e57fdacd1fa1fc65c4'
- '04b21c79df0a952c22d681dd4f4562df'
- 'f3def2cefdcbb954c21d8505d23cc83c'
+ '44260d2cb1a8b51c119d2ce1f83e457a'
+ '98beb36f9b8cf16e58de2483ea9985e3'
'd50c1ac47394e9aec637002ef3392bd1'
- '3ff40ca684cfe719723e627e2cef7cea'
- '19591a937d0c7a8502b7e8c8491a32f4')
+ '923c1728634d4e0f7b77177c36d94791'
+ '452c06684f07bfa9a478263e1c8649af')
if [ "$CARCH" != "mips64el" ]; then
# don't use the Loongson-specific patches on non-mips64el arches.
unset source[${#source[@]}-1]
@@ -69,6 +69,9 @@ prepare() {
# add freedo as boot logo
patch -Np1 -i "${srcdir}/boot-logo.patch"
+ # fix issue on Hal8188EFWImg_CE.c deblobbed file
+ sed -i "\|DEBLOBBED| s|,||" drivers/staging/rtl8188eu/hal/Hal8188EFWImg_CE.c
+
# 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)
@@ -77,9 +80,11 @@ prepare() {
# allow criu without expert option set
# patch from fedora
patch -Np1 -i "${srcdir}/criu-no-expert.patch"
-
- # fix https://bugs.archlinux.org/task/35991 - [linux] 3.10.x renders Logitech Unified Receivers useless
- patch -Np1 -i "${srcdir}/3.10.6-logitech-dj.patch"
+
+ # fix btrfs balance bug
+ # https://bugzilla.kernel.org/show_bug.cgi?id=63411
+ # https://bugs.archlinux.org/task/37867
+ patch -Np1 -i "${srcdir}/3.12-btrfs-relocate-csums.patch"
if [ "$CARCH" == "mips64el" ]; then
sed -i "s|^EXTRAVERSION.*|EXTRAVERSION =-libre-rt|" Makefile