remove sublevel patch

This commit is contained in:
Tobias Powalowski 2011-07-25 16:20:27 +00:00
parent 47e32c2323
commit 5cd21dbed1
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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