summaryrefslogtreecommitdiff
path: root/libre/linux-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre/PKGBUILD')
-rwxr-xr-xlibre/linux-libre/PKGBUILD22
1 files changed, 9 insertions, 13 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index e63be980b..45888f407 100755
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -10,10 +10,10 @@
pkgbase=linux-libre # Build stock -LIBRE kernel
#pkgbase=linux-libre-custom # Build kernel with a different name
_basekernel=3.5
-_sublevel=3
+_sublevel=4
pkgver=${_basekernel}.${_sublevel}
pkgrel=1
-_lxopkgver=${_basekernel}.2 # nearly always the same as pkgver
+_lxopkgver=${_basekernel}.4 # nearly always the same as pkgver
arch=('i686' 'x86_64' 'mips64el')
url="http://linux-libre.fsfla.org/"
license=('GPL2')
@@ -34,9 +34,9 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gn
'i915-i2c-crash-3.5.x.patch'
"http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/linux-patches-${_lxopkgver}-gnu_0loongsonlibre_mipsel.tar.bz2")
md5sums=('2407fc9563a74acaf38aa0c06516eb1c'
- '861f5f97c75b1a572fc5078605248ea3'
- '3ba164b409d8024fdd433f3cc4ae1fea'
- 'fa1e2ab2f036974199374f015f5a2c46'
+ '51fd8205ef5bcebc8c777a30c57b1fa2'
+ 'd83444b46ed5088e47f38cce2641023c'
+ '1ca6f15729d07ae7b3969eea3b4d8cff'
'e49ac236dfeef709f91a3d993ea7b62c'
'2967cecc3af9f954ccc822fd63dca6ff'
'8267264d9a8966e57fdacd1fa1fc65c4'
@@ -45,7 +45,7 @@ md5sums=('2407fc9563a74acaf38aa0c06516eb1c'
'c1d58e712112cf8f95e7831012a1e67a'
'ae13ed1e92bba07e9b17cf5c8d89683c'
'ff4a203dd52e4dfb5d60948bb667d06d'
- 'd822cc131b20090f39b0d448b0e1f8be')
+ 'd5c5a9bb87544c9fbc19c661802f9020')
if [ "$CARCH" != "mips64el" ]; then
# Don't use the Loongson-specific patches on non-mips64el arches.
unset source[${#source[@]}-1]
@@ -65,10 +65,6 @@ build() {
# Add freedo as boot logo
patch -Np1 -i "${srcdir}/boot-logo.patch"
- # fix alsa powersave bug, probably fixed in 3.5.4
- # https://bugs.archlinux.org/task/31255
- patch -Np1 -i "${srcdir}/alsa-powersave-3.5.x.patch"
-
# fix broken watchdog
# https://bugzilla.kernel.org/show_bug.cgi?id=44991
patch -Np1 -i "${srcdir}/watchdog-3.5.x.patch"
@@ -228,11 +224,11 @@ _package() {
mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE}"
echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE}/version"
- # move module tree /lib -> /usr/lib
- mv "$pkgdir/lib" "$pkgdir/usr"
-
# Now we call depmod...
depmod -b "$pkgdir" -F System.map "$_kernver"
+
+ # move module tree /lib -> /usr/lib
+ mv "$pkgdir/lib" "$pkgdir/usr"
}
_package-headers() {