summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build-packages3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/build-packages b/scripts/build-packages
index 3917e84d..cff676ed 100755
--- a/scripts/build-packages
+++ b/scripts/build-packages
@@ -234,8 +234,7 @@ pkg_special.append( add_package('frr', url='https://github.com/FRRouting/frr.git
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 && " \
- "LOCALVERSION='' make-kpkg --rootcmd fakeroot --initrd --append_to_version -amd64-vyos " \
- " --revision=$(make kernelversion)-1 kernel_headers kernel_image -j" + str(os.cpu_count())
+ "make bindeb-pkg -j8 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) )