HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c5dd47
)
build: vm: Fix qemu-command procedure.
author
Mathieu Othacehe
<m.othacehe@gmail.com>
Sun, 1 Dec 2019 15:46:00 +0000
(16:46 +0100)
committer
Mathieu Othacehe
<m.othacehe@gmail.com>
Sun, 1 Dec 2019 15:52:30 +0000
(16:52 +0100)
* gnu/build/vm.scm (qemu-command): When system is "armhf-linux", use "arm" as
qemu cpu prefix.
gnu/build/vm.scm
patch
|
blob
|
blame
|
history
diff --git
a/gnu/build/vm.scm
b/gnu/build/vm.scm
index
6f920ae
..
89d685b
100644
(file)
--- a/
gnu/build/vm.scm
+++ b/
gnu/build/vm.scm
@@
-70,9
+70,10
@@
(let ((cpu (substring system 0
(string-index system #\-))))
(string-append "qemu-system-"
- (if (string-match "^i[3456]86$" cpu)
- "i386"
- cpu))))
+ (cond
+ ((string-match "^i[3456]86$" cpu) "i386")
+ ((string-match "armhf" cpu) "arm")
+ (else cpu)))))
(define* (load-in-linux-vm builder
#:key