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