Best way to transfer files in and out of a mkosi qemu VM? #3745
-
Ordinarily id use SCP or, if I need to mount something, virtiofsd. However, qemu wraps ssh itself, and I'm not extremely clear as to if there is a clean way to get mkosi to setup virtiofsd. For full clarity, my usecase is that im using a cross-arch qemu emulated image to compile an application for armv7 on an x86 host, with a tool that does not itself support cross-compilation. Eventually, I want this to be part of our CI. What would be the best way to programmatically transfer the source code in to, and then the build artifacts out of, the VM? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
See the |
Beta Was this translation helpful? Give feedback.
See the
RuntimeBuildSources=
andRuntimeTrees=
options