projects
/
pennestraat-domotica
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8da859b
)
build.sh: multithread compression
author
Kristof Provost
<kp@FreeBSD.org>
Fri, 5 May 2023 09:54:33 +0000
(11:54 +0200)
committer
Kristof Provost
<kp@FreeBSD.org>
Fri, 5 May 2023 09:54:33 +0000
(11:54 +0200)
Use xz's multithreaded compression for a significant speedup in build
time.
image/build.sh
patch
|
blob
|
history
diff --git
a/image/build.sh
b/image/build.sh
index
66234c1
..
db9c2ee
100755
(executable)
--- a/
image/build.sh
+++ b/
image/build.sh
@@
-17,7
+17,9
@@
poudriere image \
-s 3g -t usb
# Put the domotica image in the installer overlay
-xz -v -z -c /usr/local/poudriere/data/images/domotica.img > overlay/installer/domotica.img.xz
+xz -v -z -c \
+ -T 0 \
+ /usr/local/poudriere/data/images/domotica.img > overlay/installer/domotica.img.xz
poudriere image \
-j $JAIL -p $PORTS -f $PACKAGES \