summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-09-03 23:01:32 +0200
committerChristian Poessinger <christian@poessinger.com>2020-09-03 23:01:38 +0200
commitf82f39435d4dad52b57e86563bccf9645bcf2c1d (patch)
tree2a3d1fc772498db58d3a0d00c6fc4f5169ecf341 /packages
parent592e5fa4660ecad95f665425e37a629534be88d4 (diff)
downloadvyos-build-f82f39435d4dad52b57e86563bccf9645bcf2c1d.tar.gz
vyos-build-f82f39435d4dad52b57e86563bccf9645bcf2c1d.zip
Kernel: prevent "dirty" tag of Kernel
... Kernel is appended a + to the version string when there are locally modified files - which we have. This is prevented by the existence of the .scmversion file.
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/linux-kernel/build-kernel.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/linux-kernel/build-kernel.sh b/packages/linux-kernel/build-kernel.sh
index c1fec72a..06bf28b6 100755
--- a/packages/linux-kernel/build-kernel.sh
+++ b/packages/linux-kernel/build-kernel.sh
@@ -39,4 +39,5 @@ export KERNEL_DIR=${CWD}/${KERNEL_SRC}
EOF
echo "I: Build Debian Kernel package"
+touch .scmversion
make bindeb-pkg BUILD_TOOLS=1 LOCALVERSION=${KERNEL_SUFFIX} KDEB_PKGVERSION=${KERNEL_VERSION}-1 -j $(getconf _NPROCESSORS_ONLN)