From 99efa804bd6df5de4760ec5974ed2297f1746366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 3 Nov 2020 20:43:02 +0100 Subject: [PATCH] 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 31bd110d0d..4075a26552 100644 --- a/gnu/system/image.scm +++ b/gnu/system/image.scm @@ -354,6 +354,9 @@ (define (partition-image partition) #$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 @@ (define root-uuid #: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?))))