diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-11-24 14:41:01 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-11-24 14:41:01 +0000 |
commit | 18547df12b8931dc3207cbcb07ded155f3b04f96 (patch) | |
tree | 3be5275c3e108469daaad096164e46bc910c1423 /baserock-bootstrap | |
parent | 4c4b32a28183f417eaee2724e58760d0584c6736 (diff) | |
download | morph-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-x | baserock-bootstrap | 1 |
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" |