From 02b91bee2cf41a91c38670267869fc0bd7c51863 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sat, 8 Jun 2013 08:17:48 +0000 Subject: [PATCH] bump to latest version --- PKGBUILD | 16 +++++++++------- linux.install | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 87f2661..b8c4f3b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgbase=linux # Build stock -ARCH kernel #pkgbase=linux-custom # Build kernel with a different name _srcname=linux-3.9 -pkgver=3.9.4 +pkgver=3.9.5 pkgrel=1 arch=('i686' 'x86_64') url="http://www.kernel.org/" @@ -19,7 +19,7 @@ source=("http://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz" 'linux.preset' 'change-default-console-loglevel.patch') md5sums=('4348c9b6b2eb3144d601e87c19d5d909' - '922c4553299e6692a28761d3032fc012' + 'aa22187ae5cd482a69097e9e59244491' '1eb73dcb091d2671138f87fe62bd9735' '24dff05a9f8d53e92457077e6ca6b6ae' 'eb14dcfd80c00852ef81ded6e826826a' @@ -31,7 +31,7 @@ _kernelname=${pkgbase#linux} # x86_64 # 3257a59402459dcc9e6f6ddd0144c385 /lib/modules/3.9.4-1-ARCH/modules.symbols # i686 -# bc0b5eb05278fcfa92250373217eaca1 /lib/modules/3.9.3-1-ARCH/modules.symbols +# bc0b5eb05278fcfa92250373217eaca1 /lib/modules/3.9.4-1-ARCH/modules.symbols prepare() { cd "${srcdir}/${_srcname}" @@ -126,14 +126,16 @@ _package() { # add vmlinux install -D -m644 vmlinux "${pkgdir}/usr/src/linux-${_kernver}/vmlinux" - # install fallback mkinitcpio.conf file and preset file for kernel - install -D -m644 "${srcdir}/linux.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" - # set correct depmod command for install + cp -f "${startdir}/${install}" "${startdir}/${install}.pkg" + true && install=${install}.pkg sed \ -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/" \ -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" \ - -i "${startdir}/linux.install" + -i "${startdir}/${install}" + + # install mkinitcpio preset file for kernel + install -D -m644 "${srcdir}/linux.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" sed \ -e "1s|'linux.*'|'${pkgbase}'|" \ -e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgbase}\"|" \ diff --git a/linux.install b/linux.install index b200099..449a9cd 100644 --- a/linux.install +++ b/linux.install @@ -2,7 +2,7 @@ # arg 2: the old package version KERNEL_NAME= -KERNEL_VERSION=3.9.4-1-ARCH +KERNEL_VERSION= # set a sane PATH to ensure that critical utils like depmod will be found export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'