summaryrefslogtreecommitdiffstats
path: root/bin/d-i_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/d-i_build.sh')
-rwxr-xr-xbin/d-i_build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh
index 4608c1b9..d178dd6e 100755
--- a/bin/d-i_build.sh
+++ b/bin/d-i_build.sh
@@ -54,7 +54,8 @@ pdebuild_package() {
#
# build
#
- pdebuild --use-pdebuild-internal
+ NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l)
+ pdebuild --use-pdebuild-internal --debbuildopts "-j$NUM_CPU"
}
init_workspace