mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
hydra: Specify the image size of the QEMU image.
* build-aux/hydra/gnu-system.scm (qemu-jobs): Specify #:disk-image-size.
This commit is contained in:
parent
55651ff207
commit
616d9e1d2c
1 changed files with 5 additions and 2 deletions
|
@ -133,10 +133,13 @@ (define (->job name drv)
|
|||
(if (string=? system "x86_64-linux")
|
||||
(let* ((dir (dirname (assoc-ref (current-source-location) 'filename)))
|
||||
(file (string-append dir "/demo-os.scm"))
|
||||
(os (read-operating-system file)))
|
||||
(os (read-operating-system file))
|
||||
(size (* 1400 (expt 2 20)))) ; 1.4GiB
|
||||
(if (operating-system? os)
|
||||
(list (->job 'qemu-image
|
||||
(run-with-store store (system-qemu-image os))))
|
||||
(run-with-store store
|
||||
(system-qemu-image os
|
||||
#:disk-image-size size))))
|
||||
'()))
|
||||
'()))
|
||||
|
||||
|
|
Loading…
Reference in a new issue