build: vm: Fix qemu-command procedure.
* gnu/build/vm.scm (qemu-command): When system is "armhf-linux", use "arm" as qemu cpu prefix.
This commit is contained in:
parent
2c5dd47cef
commit
c6d130630a
1 changed files with 4 additions and 3 deletions
|
@ -70,9 +70,10 @@
|
||||||
(let ((cpu (substring system 0
|
(let ((cpu (substring system 0
|
||||||
(string-index system #\-))))
|
(string-index system #\-))))
|
||||||
(string-append "qemu-system-"
|
(string-append "qemu-system-"
|
||||||
(if (string-match "^i[3456]86$" cpu)
|
(cond
|
||||||
"i386"
|
((string-match "^i[3456]86$" cpu) "i386")
|
||||||
cpu))))
|
((string-match "armhf" cpu) "arm")
|
||||||
|
(else cpu)))))
|
||||||
|
|
||||||
(define* (load-in-linux-vm builder
|
(define* (load-in-linux-vm builder
|
||||||
#:key
|
#:key
|
||||||
|
|
Reference in a new issue