remove sublevel patch
This commit is contained in:
parent
47e32c2323
commit
5cd21dbed1
4
PKGBUILD
4
PKGBUILD
@ -48,11 +48,11 @@ build() {
|
|||||||
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
|
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# remove the extraversion from Makefile
|
# remove the sublevel from Makefile
|
||||||
# this ensures our kernel version is always 3.X-ARCH
|
# this ensures our kernel version is always 3.X-ARCH
|
||||||
# this way, minor kernel updates will not break external modules
|
# this way, minor kernel updates will not break external modules
|
||||||
# we need to change this soon, see FS#16702
|
# 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
|
# get kernel version
|
||||||
make prepare
|
make prepare
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# arg 2: the old package version
|
# arg 2: the old package version
|
||||||
|
|
||||||
KERNEL_NAME=
|
KERNEL_NAME=
|
||||||
KERNEL_VERSION=3.0.0-ARCH
|
KERNEL_VERSION=3.0-ARCH
|
||||||
|
|
||||||
post_install () {
|
post_install () {
|
||||||
# updating module dependencies
|
# updating module dependencies
|
||||||
|
Loading…
Reference in New Issue
Block a user