From: Holger Levsen Date: Mon, 31 Oct 2011 18:21:46 +0000 (+0100) Subject: dont hardcode the numbers of CPUs X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=a0db8f38b263dac3fb8030e9390a859c6b062ce8;p=profitbricks%2Fjenkins-build-scripts.git dont hardcode the numbers of CPUs --- diff --git a/build-oot.sh b/build-oot.sh index 73ef974..90adb92 100755 --- a/build-oot.sh +++ b/build-oot.sh @@ -72,7 +72,7 @@ EFO cp /boot/config-*-$PB_FLAVOUR .config make prepare make modules_prepare - /usr/bin/make-kpkg -j 25 --arch amd64 --rootcmd fakeroot --append-to-version -profitbricks-$PB_FLAVOUR --initrd --arch_in_name modules + /usr/bin/make-kpkg -j \$(grep processor /proc/cpuinfo |wc -l) --arch amd64 --rootcmd fakeroot --append-to-version -profitbricks-$PB_FLAVOUR --initrd --arch_in_name modules cd /usr/src/ ls *deb