Revision 1bc6ab94 devel/upload.in
b/devel/upload.in | ||
---|---|---|
63 | 63 |
TXD=`mktemp -d` |
64 | 64 |
trap 'rm -rf $TXD' EXIT |
65 | 65 |
|
66 |
if [[ -f /proc/cpuinfo ]]; then |
|
67 |
cpu_count=$(grep -E -c '^processor\s*:' /proc/cpuinfo) |
|
68 |
make_args=-j$(( cpu_count + 1 )) |
|
69 |
else |
|
70 |
make_args= |
|
71 |
fi |
|
72 |
|
|
66 | 73 |
# install ganeti as a real tree |
67 |
make install DESTDIR="$TXD" |
|
74 |
make $make_args install DESTDIR="$TXD"
|
|
68 | 75 |
|
69 | 76 |
# copy additional needed files |
70 | 77 |
install -D --mode=0755 doc/examples/ganeti.initd \ |
Also available in: Unified diff