From 5cd21dbed10396f13b8902f958dac8093e121a3e Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Mon, 25 Jul 2011 16:20:27 +0000 Subject: [PATCH] remove sublevel patch --- PKGBUILD | 4 ++-- linux.install | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 9a12805..1e9e005 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -48,11 +48,11 @@ build() { sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config fi - # remove the extraversion from Makefile + # remove the sublevel from Makefile # this ensures our kernel version is always 3.X-ARCH # this way, minor kernel updates will not break external modules # we need to change this soon, see FS#16702 - sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION = |g' Makefile + sed -ri 's|^(SUBLEVEL =).*|\1|' Makefile # get kernel version make prepare diff --git a/linux.install b/linux.install index 17e27ec..bee5952 100644 --- a/linux.install +++ b/linux.install @@ -2,7 +2,7 @@ # arg 2: the old package version KERNEL_NAME= -KERNEL_VERSION=3.0.0-ARCH +KERNEL_VERSION=3.0-ARCH post_install () { # updating module dependencies