diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/d-i_build.sh | 3 | ||||
-rwxr-xr-x | bin/d-i_manual.sh | 3 |
2 files changed, 4 insertions, 2 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 diff --git a/bin/d-i_manual.sh b/bin/d-i_manual.sh index b9f2e634..78c9c539 100755 --- a/bin/d-i_manual.sh +++ b/bin/d-i_manual.sh @@ -39,7 +39,8 @@ pdebuild_package() { # build # cd manual - pdebuild --use-pdebuild-internal + NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l) + pdebuild --use-pdebuild-internal --debbuildopts "-j$NUM_CPU" cd .. } |