From a0db8f38b263dac3fb8030e9390a859c6b062ce8 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 31 Oct 2011 19:21:46 +0100 Subject: [PATCH] dont hardcode the numbers of CPUs --- build-oot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5