From f5b22a7eb1dc440ca8511e2b58a474908823b62b Mon Sep 17 00:00:00 2001 From: Sorin-Mihai Vârgolici Date: Sat, 6 Aug 2011 02:17:11 +0300 Subject: Updated to 3.0.1 --- libre/linux-libre/PKGBUILD | 18 +++++++----------- libre/linux-libre/linux-libre.install | 2 +- 2 files changed, 8 insertions(+), 12 deletions(-) (limited to 'libre') diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD index 7b6d1c1cc..2619e7430 100644 --- a/libre/linux-libre/PKGBUILD +++ b/libre/linux-libre/PKGBUILD @@ -9,14 +9,15 @@ 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.0 -pkgver=${_basekernel} -pkgrel=4 +pkgver=${_basekernel}.1 +pkgrel=1 arch=('i686' 'x86_64') -url="http://linux-libre.fsfla.org" +url="http://linux-libre.fsfla.org/" license=('GPL2') makedepends=('xmlto' 'docbook-xsl') options=('!strip') source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-libre/linux-${pkgver}-libre.tar.xz" + "http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-libre/patch-${_basekernel}-libre-${pkgver}-libre.xz" # the main kernel config files 'config.i686' 'config.x86_64' # standard config files for mkinitcpio ramdisk @@ -24,17 +25,12 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-libre/l 'boot-logo.patch' 'fix-i915.patch' 'change-default-console-loglevel.patch') -md5sums=('44e7bc20c235a193f9b6123a8d5e9509' - '66dff8af6b00eb8d054b2af85aaa5ef7' - '1a98b8b8f2140ac8f95c3814cba8cc95' - 'a8a3843046926eb7ab81312cd438c5c5' - '04b21c79df0a952c22d681dd4f4562df' - '263725f20c0b9eb9c353040792d644e5' - '7396b811db06dec0250a1a098f527b83') build() { cd "${srcdir}/linux-${pkgver}" + patch -Np1 -i "${srcdir}/patch-${_basekernel}-libre-${pkgver}-libre" + # Add freedo as boot logo patch -Np1 -i "${srcdir}/boot-logo.patch" @@ -46,7 +42,7 @@ build() { # (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227) patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch" - cat "$srcdir/config.$CARCH" > ./.config # simpler + cat "${srcdir}/config.${CARCH}" > ./.config # simpler if [ "${_kernelname}" != "" ]; then sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config diff --git a/libre/linux-libre/linux-libre.install b/libre/linux-libre/linux-libre.install index 51e78dc60..64ea2d1bf 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.0-LIBRE +KERNEL_VERSION=3.0.1-LIBRE post_install () { # updating module dependencies -- cgit v1.2.3-54-g00ecf