summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSimão Gomes Viana2023-10-31 12:20:30 +0100
committerSimão Gomes Viana2023-10-31 12:20:30 +0100
commita30a49f7c454003c4177ef978acd3d878bdb0fec (patch)
tree003468fe13e99818c00c88dbbd3745bfa8c76370 /PKGBUILD
parent0a1ae15a8de568115b2447d5cf2ee7a478708314 (diff)
downloadaur-a30a49f7c454003c4177ef978acd3d878bdb0fec.tar.gz
Omit localversion
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 1 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 214bc20ae601..5d45d072defc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -61,8 +61,6 @@ _handle_lsmod() {
build() {
cd "${_srcname}"
- echo "-$pkgrel" > localversion.10-pkgrel
- echo "${pkgbase#linux}" > localversion.20-pkgname
make -s kernelrelease > version
# don't run depmod on 'make install'. We'll do this ourselves in packaging
@@ -187,7 +185,7 @@ _package-headers() {
echo "Installing build files..."
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
- localversion.* version vmlinux
+ version vmlinux
install -Dt "$builddir/kernel" -m644 kernel/Makefile
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
cp -t "$builddir" -a scripts