diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-04-27 11:30:17 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-04-27 11:30:17 +0200 |
commit | 4c0576dad6a145f7f6e8973d5fe095fa30eb3772 (patch) | |
tree | 7500080b0100ca85331021ba48f3c22ddc29ab1b /scripts | |
parent | 94c96194a53b6a0c717fc287357bd8945ca3307e (diff) | |
parent | 0effb22f46d2e6befdd3fdda532b04b778d07c7e (diff) | |
download | vyos-build-4c0576dad6a145f7f6e8973d5fe095fa30eb3772.tar.gz vyos-build-4c0576dad6a145f7f6e8973d5fe095fa30eb3772.zip |
Merge branch 'current' of github.com:vyos/vyos-build into buster
* 'current' of github.com:vyos/vyos-build:
Packages: use Kernel Maintainer build command for Linux Kernel
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) ) |