summaryrefslogtreecommitdiff
path: root/libre/linux-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre/PKGBUILD')
-rw-r--r--libre/linux-libre/PKGBUILD29
1 files changed, 14 insertions, 15 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index 951f6429a..51c10d7c1 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -9,7 +9,7 @@
pkgbase=linux-libre # Build stock "" kernel
_pkgbasever=4.0-gnu
-_pkgver=4.0.1-gnu
+_pkgver=4.0.4-gnu
_replacesarchkernel=('linux%') # '%' gets replaced with _kernelname
_replacesoldkernels=('kernel26%' 'kernel26-libre%') # '%' gets replaced with _kernelname
@@ -18,7 +18,7 @@ _replacesoldmodules=('linux-libre%-kmod-alx') # '%' gets replaced with _kernelna
_srcname=linux-${_pkgbasever%-*}
_archpkgver=${_pkgver%-*}
pkgver=${_pkgver//-/_}
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64' 'mips64el')
url="http://linux-libre.fsfla.org/"
license=('GPL2')
@@ -33,24 +33,24 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/li
# standard config files for mkinitcpio ramdisk
'linux.preset'
'logo_linux_'{clut224.ppm,vga16.ppm,mono.pbm}
+ 'md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch'
'change-default-console-loglevel.patch'
- '0001-drm-i915-Dont-enable-CS_PARSER_ERROR-interrupts-at-all.patch'
# loongson-community patch: http://linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/
- '4.0-rc7-37af2c8aae-loongson-community.patch')
+ '4.0.2-ae91f13af5-loongson-community.patch')
sha256sums=('0e2dd5be12c1f82ab3d03b89cbe3f1a20e14332ec42c102efb226a6283fdd38a'
'SKIP'
- 'b99335ed7c60ba2701d81923de4e3e9efbbfa3ad0782e7d94cd48b92adb1fbd6'
+ 'e447de9a53c5aefd25f0474f3304ab87076b88353badaae20dcbd85712e85e61'
'SKIP'
- '872203c34c5db72a1dc62e8152c89c90469743b39f3e91cbdb1f9bb5c24ab4c1'
- '2d76fb20424573559289ab061312971ae1a508a15375513c9f28e5cb84f4515a'
- '4e05992849d2db2caaa3cc56f307c82ca4376441d4cad51a5f3611f10866a2a4'
+ '5fa50ffbe7b6e82c70d1d15947c34caa0b484ecd264f01149f40b910e7c8f394'
+ '33f68753bc12456e601492f870f7e04cd116f36b81630d9bad954093d72bc57a'
+ '7b6954ed843d17149129cc04064d00db791767ad8b7dca5a4833a2febafce50a'
'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c'
'bfd4a7f61febe63c880534dcb7c31c5b932dde6acf991810b41a939a93535494'
'6de8a8319271809ffdb072b68d53d155eef12438e6d04ff06a5a4db82c34fa8a'
'13bd7a8d9ed6b6bc971e4cd162262c5a20448a83796af39ce394d827b0e5de74'
+ 'bc83293e64653d60793708a0e277741f57c018f5ea3551a8aff3a220df917ceb'
'1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99'
- '66cb2d859b253bc4e793baa3c0b95523d647a773b957dbc79b3eaacccf8692b5'
- '6fd223e0e11421f87ff4c913b61636ecbbecf249f431ba87a1288463b847f26c')
+ '13e141279af2bc17decfc041e015710daac9a6cd1c9b4e871a76cb8f916b9e22')
validpgpkeys=(
'474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
)
@@ -80,18 +80,17 @@ prepare() {
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
+ # https://bugzilla.kernel.org/show_bug.cgi?id=98501
+ patch -Np1 -i "${srcdir}/md-raid0-fix-restore-to-sector-variable-in-raid0_mak.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 -p1 -i "${srcdir}/change-default-console-loglevel.patch"
- # drm/i915: Stop gathering error states for CS error interrupts
- # https://bugzilla.kernel.org/show_bug.cgi?id=93171
- patch -p1 -i "${srcdir}/0001-drm-i915-Dont-enable-CS_PARSER_ERROR-interrupts-at-all.patch"
-
# Adding loongson-community patch
if [ "${CARCH}" == "mips64el" ]; then
- patch -p1 -i ${srcdir}/4.0-rc7-37af2c8aae-loongson-community.patch
+ patch -p1 -i ${srcdir}/4.0.2-ae91f13af5-loongson-community.patch
fi
cat "${srcdir}/config.${CARCH}" > ./.config