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/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index a4b891b52..8548fc33b 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=('linux-libre' 'linux-libre-headers' 'linux-libre-docs') # Build stock -
# pkgname=linux-custom # Build kernel with a different name
_kernelname=${pkgname#linux-libre}
_basekernel=3.1
-pkgver=${_basekernel}.5
+pkgver=${_basekernel}.6
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url="http://linux-libre.fsfla.org/"
@@ -68,9 +68,12 @@ build() {
patch -Np1 -i ${srcdir}/${_basekernel}.*-*-loongson-community.patch
patch -Np0 -i "${srcdir}/lxo-config.patch"
-# ensure N32
- sed -i "s|CONFIG_MIPS32_N32=.*|CONFIG_MIPS32_N32=y|g" ./.config
- sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"-LIBRE\"|g" ./.config
+# ensure N32, add localversion and remove uevent helper as per
+# https://git.kernel.org/?p=linux/hotplug/udev.git;a=blob_plain;f=README
+ sed -i -e "s|CONFIG_MIPS32_N32=.*|CONFIG_MIPS32_N32=y|g" \
+ -e "s|CONFIG_MIPS32_N32=.*|CONFIG_MIPS32_N32=y|g" \
+ -e "s|CONFIG_UEVENT_HELPER_PATH=.*|CONFIG_UEVENT_HELPER_PATH=\"\"|g" \
+ -e "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"-LIBRE\"|g" ./.config
else
cat "${srcdir}/config.${CARCH}" > ./.config # simpler
fi
@@ -343,10 +346,10 @@ package_linux-libre-docs() {
rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
}
md5sums=('d73df15ab1d36fe3c102755d8f42117f'
- '06b461d4db995ddcbecbf345ae3b8987'
- '84475b01ec148cb1f367bba20025a148'
- '7d8fac41f4c4c2d14d8c65645fb676bd'
- '2a0302eda795903d3b01e41ba807c91e'
+ 'cb42276bca126c676c51d02d74bf7fe7'
+ '1cf576c8c91e88ba4be55eb53979135e'
+ '267ea59695619730032f89ac70bf9391'
+ '5a415fc0c864dc3f5c4afa63f1506c52'
'a8a3843046926eb7ab81312cd438c5c5'
'2967cecc3af9f954ccc822fd63dca6ff'
'8267264d9a8966e57fdacd1fa1fc65c4'