summaryrefslogtreecommitdiff
path: root/libre/linux-libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre')
-rw-r--r--libre/linux-libre/PKGBUILD52
-rw-r--r--libre/linux-libre/linux-libre.install2
2 files changed, 51 insertions, 3 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index 123c463d4..efce423c7 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -26,7 +26,12 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-li
'Kbuild'
'Kbuild.platforms'
'boot-logo.patch'
- 'change-default-console-loglevel.patch')
+ 'change-default-console-loglevel.patch'
+ 'i915-fix-ghost-tv-output.patch'
+ 'i915-fix-incorrect-error-message.patch'
+ 'iwlagn-fix-NULL-pointer-dereference.patch'
+ 'dib0700-fix.patch'
+ 'usb-add-reset-resume-quirk-for-several-webcams.patch')
build() {
cd "${srcdir}/linux-${_basekernel}"
@@ -36,6 +41,35 @@ build() {
# Add freedo as boot logo
patch -Np1 -i "${srcdir}/boot-logo.patch"
+ # Some chips detect a ghost TV output
+ # mailing list discussion: http://lists.freedesktop.org/archives/intel-gfx/2011-April/010371.html
+ # Arch Linux bug report: FS#19234
+ #
+ # It is unclear why this patch wasn't merged upstream, it was accepted,
+ # then dropped because the reasoning was unclear. However, it is clearly
+ # needed.
+ patch -Np1 -i "${srcdir}/i915-fix-ghost-tv-output.patch"
+
+ # In 3.1.0, a DRM_DEBUG message is falsely declared as DRM_ERROR. This
+ # worries users, as this message is displayed even at loglevel 4. Fix
+ # this.
+ patch -Np1 -i "${srcdir}/i915-fix-incorrect-error-message.patch"
+
+ # iwlagn has a critical bug that hangs the system on 3.1.0. A patch
+ # was posted, but didn't make it into the tree in time.
+ # http://marc.info/?l=linux-wireless&m=131840748927629&w=2
+ # FS#26674
+ patch -Np1 -i "${srcdir}/iwlagn-fix-NULL-pointer-dereference.patch"
+
+ # Fix dib0700 driver
+ # http://git.linuxtv.org/pb/media_tree.git/shortlog/refs/heads/for_v3.0
+ # FS#25939
+ patch -Np1 -i "${srcdir}/dib0700-fix.patch"
+
+ # Add the USB_QUIRK_RESET_RESUME for several webcams
+ # FS#26528
+ patch -Np1 -i "${srcdir}/usb-add-reset-resume-quirk-for-several-webcams.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)
@@ -44,7 +78,7 @@ build() {
if [ "$CARCH" == "mips64el" ]; then
sed -i "s|^EXTRAVERSION.*|EXTRAVERSION =-libre|" Makefile
msg2 "Adding loongson-community patches"
- patch -Np1 -i "${srcdir}/${_basekernel}-*-loongson-community.patch"
+ patch -Np1 -i ${srcdir}/${_basekernel}-*-loongson-community.patch
patch -Np0 -i "${srcdir}/lxo-config.patch"
# ensure N32
@@ -321,3 +355,17 @@ package_linux-libre-docs() {
# remove a file already in linux package
rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
}
+md5sums=('d73df15ab1d36fe3c102755d8f42117f'
+ '8fce130ed65a5958252cb4f35382d4ef'
+ 'a7cbd8c216a1f4c6068625c4dc746164'
+ '616e05f7436572a7e83500b5daa7e958'
+ 'a8a3843046926eb7ab81312cd438c5c5'
+ '2967cecc3af9f954ccc822fd63dca6ff'
+ '8267264d9a8966e57fdacd1fa1fc65c4'
+ '04b21c79df0a952c22d681dd4f4562df'
+ '9d3c56a4b999c8bfbd4018089a62f662'
+ '980efbecb40b90c224a904dd953e5354'
+ '2344fe139fca123ba6095968ebeb4e67'
+ '7dd579902b9d87d8d7063712ffc3e6aa'
+ '3bacb994ce2995a3e95692cde78c5879'
+ '8c83acd60ed5c33747b01532d90edd64')
diff --git a/libre/linux-libre/linux-libre.install b/libre/linux-libre/linux-libre.install
index 493a6e3a7..622d2bde0 100644
--- a/libre/linux-libre/linux-libre.install
+++ b/libre/linux-libre/linux-libre.install
@@ -2,7 +2,7 @@
# arg 2: the old package version
KERNEL_NAME=
-KERNEL_VERSION=3.1.0-2-LIBRE
+KERNEL_VERSION=3.1.0-3-LIBRE
post_install () {
# updating module dependencies