[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: image: Allow offloading of "partition.img" and "image.iso" builds
From: |
guix-commits |
Subject: |
02/02: image: Allow offloading of "partition.img" and "image.iso" builds. |
Date: |
Tue, 3 Nov 2020 17:48:32 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 99efa804bd6df5de4760ec5974ed2297f1746366
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Nov 3 20:43:02 2020 +0100
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.
---
gnu/system/image.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/system/image.scm b/gnu/system/image.scm
index 31bd110..4075a26 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?))))