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.
This commit is contained in:
Ludovic Courtès 2020-11-03 20:43:02 +01:00
parent fccc01275d
commit 99efa804bd
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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?))))