diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-04-27 11:26:40 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-04-27 11:28:47 +0200 |
commit | 0effb22f46d2e6befdd3fdda532b04b778d07c7e (patch) | |
tree | d7f4c38e5102c3af42a77f67d1d1bc71813478ce /scripts | |
parent | f8dbc8a37ff5935408a6a71907fea4fb0f5b5e46 (diff) | |
download | vyos-build-0effb22f46d2e6befdd3fdda532b04b778d07c7e.tar.gz vyos-build-0effb22f46d2e6befdd3fdda532b04b778d07c7e.zip |
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.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build-packages | 3 |
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) ) |