vm: 'qemu-image' preserves the cross-compilation target of the OS.
authorLudovic Courtès <ludo@gnu.org>
Wed, 27 May 2020 22:37:33 +0000 (00:37 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 6 Jun 2020 21:28:49 +0000 (23:28 +0200)
commit52c1b90a5a0c36d618b159233dcf7ba2a56737ba
treeaa48e79ed1e1852b520625a61a8294c2362e9eee
parent96cb3f8a29a96c0b72784fa88d2a34249ebb1437
vm: 'qemu-image' preserves the cross-compilation target of the OS.

* gnu/system/vm.scm (qemu-image)[preserve-target, inputs*]: New variables.
In gexp, use INPUTS* instead of INPUTS.  Wrap OS and BOOTCFG-DRV in
'preserve-target'.  Pass INPUTS* instead of INPUTS as the #:references-graphs.
gnu/system/vm.scm