summaryrefslogtreecommitdiff
path: root/baserock-bootstrap
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-11-24 14:41:01 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-11-24 14:41:01 +0000
commit18547df12b8931dc3207cbcb07ded155f3b04f96 (patch)
tree3be5275c3e108469daaad096164e46bc910c1423 /baserock-bootstrap
parent4c4b32a28183f417eaee2724e58760d0584c6736 (diff)
downloadmorph-18547df12b8931dc3207cbcb07ded155f3b04f96.tar.gz
Tell morph the max number of jobs in parallel explicitly
We run morph in a chroot, where it has no access to /proc/cpuinfo, and that makes it not be able to count the CPUs correctly, so it thinks it only has one. When we tell it the count explicitly (from outside the chroot, where we do have /proc/cpuinfo), things'll work better.
Diffstat (limited to 'baserock-bootstrap')
-rwxr-xr-xbaserock-bootstrap1
1 files changed, 1 insertions, 0 deletions
diff --git a/baserock-bootstrap b/baserock-bootstrap
index 8bb806bb..bb5efb9c 100755
--- a/baserock-bootstrap
+++ b/baserock-bootstrap
@@ -765,6 +765,7 @@ python ./morph --verbose build \
--bootstrap \
--cachedir=/baserock/cache \
--log=/baserock/morph.log \
+ --max-jobs=$JOBS \
--git-base-url=file:///baserock/gits/
EOF
chmod +x "$LFS/baserock/build.sh"