me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 6 additions and 0 deletions

View File

@ -354,6 +354,9 @@ used in the image."
#$output #$output
image-root))))) image-root)))))
(computed-file "partition.img" image-builder (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)))) #:options `(#:references-graphs ,inputs))))
(define (partition->config partition) (define (partition->config partition)
@ -488,6 +491,9 @@ used in the image. "
#:volume-id #$root-label #:volume-id #$root-label
#:volume-uuid #$root-uuid))))) #:volume-uuid #$root-uuid)))))
(computed-file name builder (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 #:options `(#:references-graphs ,inputs
#:substitutable? ,substitutable?)))) #:substitutable? ,substitutable?))))