summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-11-03 20:43:02 +0100
committerLudovic Courtès <ludo@gnu.org>2020-11-03 23:47:14 +0100
commit99efa804bd6df5de4760ec5974ed2297f1746366 (patch)
tree38ce3eca33ef107a31de718b965b18d4abdc9052
parentfccc01275dff5be0f9e5efc7cb87e21f6663fb55 (diff)
downloadguix-patches-99efa804bd6df5de4760ec5974ed2297f1746366.tar
guix-patches-99efa804bd6df5de4760ec5974ed2297f1746366.tar.gz
image: Allow offloading of "partition.img" and "image.iso" builds.
This builds are extremely I/O-intensive so they'd rather not run on the head node of the build farm. * gnu/system/image.scm (system-disk-image, system-iso9660-image): Pass #:local-build? #f.
-rw-r--r--gnu/system/image.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/system/image.scm b/gnu/system/image.scm
index 31bd110d0d..4075a26552 100644
--- a/gnu/system/image.scm
+++ b/gnu/system/image.scm
@@ -354,6 +354,9 @@ used in the image."
#$output
image-root)))))
(computed-file "partition.img" image-builder
+ ;; Allow offloading so that this I/O-intensive process
+ ;; doesn't run on the build farm's head node.
+ #:local-build? #f
#:options `(#:references-graphs ,inputs))))
(define (partition->config partition)
@@ -488,6 +491,9 @@ used in the image. "
#:volume-id #$root-label
#:volume-uuid #$root-uuid)))))
(computed-file name builder
+ ;; Allow offloading so that this I/O-intensive process
+ ;; doesn't run on the build farm's head node.
+ #:local-build? #f
#:options `(#:references-graphs ,inputs
#:substitutable? ,substitutable?))))