Hi Iain, On Fri, 03 Feb 2017 12:54:17 +0000 Iain Lane <[email protected]> wrote: > I wanted to work on an autopkgtest bug in the qemu runner on the train. > I've got a full mirror around which is available on my system. Currently > autopkgtest-buildvm-ubuntu-cloud doesn't support file:// for --mirror > though - the mirror isn't made available inside the VM. > > Maybe I could already achieve this by manually passing qemu parameters, > but it's possible to support this OOTB. That's what the attached patch > does. It makes it so that "--mirror file://foo" is mounted as > /mirrors/ubuntu inside the VM. > > When you run the actual tests ("-- qemu foo.img"), you also have to tell > the qemu runner where to find the mirror so that it can mount it. For > that I added a new "--localmirror" option. This isn't DRY as you've > already given that information when building the VM, but I don't know > how to avoid that. I hope it's acceptable. > > Review / ideas for improvement appreciated!
Your patch doesn't apply cleanly (anymore?). If you are still interested in this, could you please update the patch and create a merge request on salsa mentioning this bug? That way reviewing and reworking the patch is easier. Paul
signature.asc
Description: OpenPGP digital signature

