summaryrefslogtreecommitdiff
path: root/libre/linux-libre/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-03-14 15:28:02 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-03-14 15:28:02 -0300
commit7d94535d8322ebe30fc575682634c30a1cc4f6f3 (patch)
treecf8da8477216e1a18c3b5bac4b3b25566c997d1b /libre/linux-libre/PKGBUILD
parent3614509ad64cb8ba726450bf148a67df93f420e3 (diff)
parent1dbc1f2d8eaf0b2ba703cc12d9992e0e0bd75f7c (diff)
downloadabslibre-7d94535d8322ebe30fc575682634c30a1cc4f6f3.tar.gz
abslibre-7d94535d8322ebe30fc575682634c30a1cc4f6f3.tar.bz2
abslibre-7d94535d8322ebe30fc575682634c30a1cc4f6f3.zip
Merge branch 'master' of ssh://gparabola/abslibre
Diffstat (limited to 'libre/linux-libre/PKGBUILD')
-rw-r--r--libre/linux-libre/PKGBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index 5b8430f86..8e2cbd99e 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -5,16 +5,17 @@
# Maintainer (Parabola): Sorin-Mihai Vârgolici <smv@yobicore.org>
# Maintainer (Parabola): André Silva <andre.paulista@adinet.com.uy>
# Maintainer (Parabola): Michał Masłowski <mtjm@mtjm.eu>
+# Contributor (Parabola): Márcio Silva <coadde@adinet.com.uy>
pkgbase=linux-libre
pkgname=('linux-libre' 'linux-libre-headers' 'linux-libre-docs') # Build stock -LIBRE kernel
# pkgname=linux-custom # Build kernel with a different name
-_kernelname=${pkgname#linux-libre}
+_kernelname=-LIBRE
_basekernel=3.2
_sublevel=9
pkgver=${_basekernel}.${_sublevel}
_lxopkgver=${_basekernel}.7 # nearly always the same as pkgver
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64' 'mips64el')
url="http://linux-libre.fsfla.org/"
license=('GPL2')
@@ -190,10 +191,6 @@ package_linux-libre() {
# set correct depmod command for install
sed \
- -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
- -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
- -i "${startdir}/${pkgname}.install"
- sed \
-e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgname}\"|g" \
-e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgname}.img\"|g" \
-e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgname}-fallback.img\"|g" \