diff options
author | Mathieu Othacehe <m.othacehe@gmail.com> | 2019-08-21 09:19:58 +0200 |
---|---|---|
committer | Mathieu Othacehe <m.othacehe@gmail.com> | 2019-11-15 17:32:28 +0100 |
commit | 4ba3c0da4f76e8ec487036f23a14f9353f09131a (patch) | |
tree | 7b797345b7991320ce7ebcc0b2a7f4608f629e82 /gnu/packages/code.scm | |
parent | fd02b831ba70c0902dd103707f253aa07ea64bfb (diff) | |
download | guix-patches-4ba3c0da4f76e8ec487036f23a14f9353f09131a.tar guix-patches-4ba3c0da4f76e8ec487036f23a14f9353f09131a.tar.gz |
system: vm: Support cross-compilation.
* gnu/system.scm (system-linux-image-file-name): Add support for cross-built
systems. Remove system argument that was ignored,
(operating-system-kernel-file): adapt by removing ignored os argument.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Add target
argument and turn inputs into native-inputs. Pass target to qemu-command
and gexp->derivation calls.
(iso9660-image): Add target argument and pass it to
expression->derivation-in-linux-vm. Remove qemu from inputs as it
is not necessary.
(qemu-image): Add target argument, also remove qemu from inputs. Pass
target argument to expression->derivation-in-linux-vm call.
Diffstat (limited to 'gnu/packages/code.scm')
0 files changed, 0 insertions, 0 deletions