summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNavya <navyax.bathula@intel.com>2017-04-27 04:35:58 -0500
committerNavya <navyax.bathula@intel.com>2017-04-27 04:35:58 -0500
commitc286c5ca4b5c112ed682b5a131dd04f1cc858fc6 (patch)
tree8ffb6519110551cc47a8f16567b2ce55514715fc
parent51c9d86f331d3e24faf1639c91327bf348ee7cbe (diff)
[fuel-plugin]Reduce kernel debian build duration
This patch contains some enhancement to reduce the kernel build duration by making use of all processors available. Change-Id: Ie14f871924f5c20784f2c2e30607ab549c94125f Signed-off-by: Navya Bathula <navyax.bathula@intel.com>
-rwxr-xr-xfuel-plugin/build_kvm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuel-plugin/build_kvm.sh b/fuel-plugin/build_kvm.sh
index cc1df2791..40220b7b0 100755
--- a/fuel-plugin/build_kvm.sh
+++ b/fuel-plugin/build_kvm.sh
@@ -46,7 +46,7 @@ make oldconfig </dev/null
# Build the kernel debs
make-kpkg clean
-fakeroot make-kpkg --initrd --revision=$VERSION kernel_image kernel_headers
+fakeroot make-kpkg --initrd --revision=$VERSION kernel_image kernel_headers -j$(nproc)
cp $SRC/kvmfornfv/linux-headers*.deb /kvmfornfv/.
cp $SRC/kvmfornfv/linux-image*.deb /kvmfornfv/.