mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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:
parent
fccc01275d
commit
99efa804bd
1 changed files with 6 additions and 0 deletions
|
@ -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?))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue