summaryrefslogtreecommitdiff
path: root/gnu/system/linux-container.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <m.othacehe@gmail.com>2019-08-21 09:19:58 +0200
committerMathieu Othacehe <m.othacehe@gmail.com>2019-12-01 16:51:40 +0100
commitd4ddf22d54f9374715c651aaebda2315e9f89272 (patch)
tree51438303a495f8319417d481454229d5f6005552 /gnu/system/linux-container.scm
parent39c746f08148d5f7e84d00c8cda98ad310baa4ca (diff)
downloadpatches-d4ddf22d54f9374715c651aaebda2315e9f89272.tar
patches-d4ddf22d54f9374715c651aaebda2315e9f89272.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/system/linux-container.scm')
0 files changed, 0 insertions, 0 deletions