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/PKGBUILD18
1 files changed, 13 insertions, 5 deletions
diff --git a/kernels/linux-libre-rt/PKGBUILD b/kernels/linux-libre-rt/PKGBUILD
index 81ee09dd3..2be77d7f4 100644
--- a/kernels/linux-libre-rt/PKGBUILD
+++ b/kernels/linux-libre-rt/PKGBUILD
@@ -14,7 +14,7 @@ pkgbase=linux-libre-rt # Build stock -rt kernel
_pkgbasever=3.18-gnu
_pkgver=3.18.7-gnu
_rtbasever=3.18
-_rtpatchver=rt1
+_rtpatchver=rt2
_replacesarchkernel=('linux%') # '%' gets replaced with _kernelname
_replacesoldkernels=('kernel26%' 'kernel26-libre%') # '%' gets replaced with _kernelname
@@ -23,7 +23,7 @@ _replacesoldmodules=() # '%' gets replaced with _kernelname
_srcname=linux-${_pkgbasever%-*}
_archpkgver=${_pkgver%-*}_${_rtpatchver}
pkgver=${_pkgver//-/_}.${_rtpatchver}
-pkgrel=1
+pkgrel=3
arch=('i686' 'x86_64' 'mips64el')
url="https://rt.wiki.kernel.org/"
license=('GPL2')
@@ -34,30 +34,35 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/li
"http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/patch-${_pkgbasever}-${_pkgver}.xz"
"http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/patch-${_pkgbasever}-${_pkgver}.xz.sign"
"http://www.kernel.org/pub/linux/kernel/projects/rt/${_rtbasever}/patch-${_pkgver%-*}-${_rtpatchver}.patch.xz"
+ "http://www.kernel.org/pub/linux/kernel/projects/rt/${_rtbasever}/patch-${_pkgver%-*}-${_rtpatchver}.patch.sign"
# the main kernel config files
'config.i686' 'config.x86_64' 'config.mips64el'
# standard config files for mkinitcpio ramdisk
'linux.preset'
'logo_linux_'{clut224.ppm,vga16.ppm,mono.pbm}
'change-default-console-loglevel.patch'
+ 'defer-thermal-wakups-to-threads.patch'
# loongson-community patch: http://linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/
'3.18-rc6-48c0ad793f-loongson-community.patch')
sha256sums=('0f347d8eba8a6878246b94b3559eb0371d96a3f43de2f134513e274de11a60cf'
'SKIP'
'84de335ee8a7c579f643980bbad7713f191b6a3a46ea502093bf54ff72fc4af6'
'SKIP'
- 'd90a4a3f2d56dd80d449de64a875111bd2db1c5a4f4d79771df06fda227b0b1c'
- '4bcc0d264549427339a9119f41bf828df49f8f53bd6b36fcff9b5d5c4dfd4289'
- '490f914f97547fb50526b4d30c6dd9903d51c30d61c2c56cb0d2fdb54a608ad1'
+ '4ba1ce27297185f24589f7b03fce997d3f11d8a66c8f0c135c3df04d9c41b288'
+ 'SKIP'
+ 'ab255fae03de1fea317ac410672c0d268d42589569178148af922e4405874d4f'
+ '998a07b2c426f305cf579f8527e6ba5a73e141ae625a9a342eaa13355dbcd2a2'
'321861df7720b74959dddcade046156427ee45ee051e09a5d73bef7cb37b558b'
'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c'
'074b67818582874146c389c029bc43648d145891a27e47aa2c5c42d3571f0264'
'2e87a8ec1cc0c91938cac24992d8a3d4362b3e9d939767e4c9d2ec8e6d969d53'
'f67f60a30bcf2e9a2ba88ad97cace308da7a7f94919bb95c3dc030f5885a8015'
'1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99'
+ '999875c3f19476afab3f202b6fdbe2451a56b58839c39c028c243f24ef6f9096'
'81adca8b3f58156f4a245cb7f20750041a9e6848b282942d7d9e213a04c96c9f')
validpgpkeys=(
'474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
+ '64254695FFF0AA4466CC19E67B96E8162A8CF5D1' # Sebastian Andrzej Siewior
)
_kernelname=${pkgbase#linux-libre}
@@ -94,6 +99,9 @@ prepare() {
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
patch -p1 -i "${srcdir}/change-default-console-loglevel.patch"
+ # defer thermal wakups to threads
+ patch -p1 -i "${srcdir}/defer-thermal-wakups-to-threads.patch"
+
# Adding loongson-community patch
if [ "${CARCH}" == "mips64el" ]; then
patch -p1 -i ${srcdir}/3.18-rc6-48c0ad793f-loongson-community.patch