From 0effb22f46d2e6befdd3fdda532b04b778d07c7e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 27 Apr 2019 11:26:40 +0200 Subject: Packages: use Kernel Maintainer build command for Linux Kernel make-kpkg is a deprecated command and make deb-pkg should be used which is maintained by the Kernel developers. Switch to the new command for Kernel building which eases the transition to Debian Buster. --- scripts/build-packages | 3 +-- 1 file changed, 1 insertion(+), 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) ) -- cgit v1.2.3