Commit 981e7cc3 authored by AlmAck's avatar AlmAck
Browse files

linux fix naming, 5.2.11-1-CHAKRA instead of 5.2.11-1-ck1-CHAKRA [skip-ci]

parent e8b284df
Pipeline #4210 skipped
......@@ -3,7 +3,7 @@ pkgname=('linux' 'linux-headers' 'linux-docs')
pkgver=5.2.11
_kernelbasever=${pkgver:0:4}
_srcname=linux-$pkgver
pkgrel=1
pkgrel=2
_ckpatchversion=1
_ckpatch="patch-5.2-ck${_ckpatchversion}"
arch=('x86_64')
......@@ -46,14 +46,14 @@ CONFIG_LOCALVERSION="${_kernelname}"
CONFIG_LOCALVERSION_AUTO=n
END
# set extraversion to pkgrel and empty localversion
msg2 "Patching with ck patchset..."
patch -Np1 -i "$srcdir/${_ckpatch}"
# set extraversion to pkgrel and empty localversion after 0017-Add-ck1-version.patch was applied
sed -e "/^EXTRAVERSION =/s/=.*/= -${pkgrel}/" \
-e "/^EXTRAVERSION =/aLOCALVERSION =" \
-i Makefile
msg2 "Patching with ck patchset..."
patch -Np1 -i "$srcdir/${_ckpatch}"
# don't run depmod on 'make install'. We'll do this ourselves in packaging
sed -i '2iexit 0' scripts/depmod.sh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment