From 01a0c4bc740842efa3bf1a7e1d6c8be5656e4e2a Mon Sep 17 00:00:00 2001 From: root Date: Wed, 14 Mar 2012 00:01:30 +0000 Subject: Wed Mar 14 00:01:29 UTC 2012 --- libre/linux-libre-lts/PKGBUILD | 7 ++----- libre/linux-libre-lts/linux-libre-lts.install | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'libre/linux-libre-lts') diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD index 5ff568522..fb028fc2b 100644 --- a/libre/linux-libre-lts/PKGBUILD +++ b/libre/linux-libre-lts/PKGBUILD @@ -2,11 +2,12 @@ # Maintainer: Tobias Powalowski # Maintainer: Thomas Baechler # Maintainer (Parabola): André Silva +# Contributor (Parabola): Márcio Silva pkgbase=linux-libre-lts pkgname=('linux-libre-lts' 'linux-libre-lts-headers') # Build stock -LIBRE kernel # pkgname=linux-custom # Build kernel with a different name -_kernelname=${pkgname#linux-libre} +_kernelname=-LIBRE-LTS _basekernel=3.0 _sublevel=23 pkgver=${_basekernel}.${_sublevel} @@ -179,10 +180,6 @@ package_linux-libre-lts() { install -D -m644 "${srcdir}/${pkgname}.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset" # 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" \ diff --git a/libre/linux-libre-lts/linux-libre-lts.install b/libre/linux-libre-lts/linux-libre-lts.install index 2de3804e6..f4f5fd6ad 100644 --- a/libre/linux-libre-lts/linux-libre-lts.install +++ b/libre/linux-libre-lts/linux-libre-lts.install @@ -2,7 +2,7 @@ # arg 2: the old package version KERNEL_NAME=-lts -KERNEL_VERSION=3.0.23-1-LIBRE-LTS +KERNEL_VERSION=3.0.23-2-LIBRE-LTS post_install () { # updating module dependencies -- cgit v1.2.3-54-g00ecf