summaryrefslogtreecommitdiff
path: root/scripts/build-packages
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-05-28 20:22:32 +0200
committerChristian Poessinger <christian@poessinger.com>2019-05-28 20:22:32 +0200
commitb60f6140ef221d32ce43fb2ebacec41ed58fb00a (patch)
tree3beb3af1cbe761b946e5251bf069e55a7aca4472 /scripts/build-packages
parentd92be49a3adb27a13513b7a3a92286fa3d586aa5 (diff)
downloadvyos-build-b60f6140ef221d32ce43fb2ebacec41ed58fb00a.tar.gz
vyos-build-b60f6140ef221d32ce43fb2ebacec41ed58fb00a.zip
Packages: do not create obsolete 'data/kernel_version' file
Diffstat (limited to 'scripts/build-packages')
-rwxr-xr-xscripts/build-packages1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/build-packages b/scripts/build-packages
index fb577f3a..dcc74c05 100755
--- a/scripts/build-packages
+++ b/scripts/build-packages
@@ -249,7 +249,6 @@ pkg_special.append( add_package('net-snmp', custombuild_cmd=net_snmp_build_cmd)
# Linux (VyOS) Kernel
#
kernel_build_cmd = "make x86_64_vyos_defconfig && " \
- "echo $(make kernelversion)-amd64-vyos > " + repo_root + "/data/kernel_version && " \
"sed -i 's/\"kernel_version\": \"[0-9].[0-9][0-9].[0-9]*\"/\"kernel_version\": \"'$(make kernelversion)'\"/' " + repo_root + "/data/defaults.json && " \
"make bindeb-pkg LOCALVERSION='-amd64-vyos' KDEB_PKGVERSION=$(make kernelversion)-1 -j $(getconf _NPROCESSORS_ONLN)"
pkg_special.append( add_package('vyos-kernel', branch='linux-vyos-4.19.y', custombuild_cmd=kernel_build_cmd) )