Browse Source
tests: Installation test no longer requires KVM.
* gnu/tests/install.scm (%test-installed-os): Use '-enable-kvm' only
when /dev/kvm exists.
version-0.11.0
Ludovic Courtès
6 years ago
No known key found for this signature in database
GPG Key ID: 90B11993D9AEBB5
1 changed files with
7 additions and
4 deletions
-
gnu/tests/install.scm
|
|
@ -200,10 +200,13 @@ build (current-guix) and then store a couple of full system images.") |
|
|
|
(format #t "copying image '~a'...~%" image) |
|
|
|
(copy-file image "disk.img") |
|
|
|
(chmod "disk.img" #o644) |
|
|
|
(list (string-append #$qemu-minimal "/bin/" |
|
|
|
#$(qemu-command system)) |
|
|
|
"-enable-kvm" "-no-reboot" "-m" "256" |
|
|
|
"-drive" "file=disk.img,if=virtio")) |
|
|
|
`(,(string-append #$qemu-minimal "/bin/" |
|
|
|
#$(qemu-command system)) |
|
|
|
,@(if (file-exists? "/dev/kvm") |
|
|
|
'("-enable-kvm") |
|
|
|
'()) |
|
|
|
"-no-reboot" "-m" "256" |
|
|
|
"-drive" "file=disk.img,if=virtio")) |
|
|
|
"installed-os"))))) |
|
|
|
|
|
|
|
;;; install.scm ends here |