On Mon, 16 Nov 2020 at 11:02:59 +0100, Christian Kastner wrote:
> On 11/16/20 12:29 AM, Simon McVittie wrote:
> > Work in progress:
> > https://salsa.debian.org/ci-team/autopkgtest/-/merge_requests/95
>
> I'm not quite sure with the first DATA_PATH entry is for?
It's for when you run ./tools/autopkgtest-build-qemu from the source tree
during development or debugging. All the autopkgtest tools are designed
to make it possible to run like that.
> One new option that might be interesting would be a --export-yaml or
> similar to export the vmdb2 yaml config, but that's just thinking out loud.
I'd prefer not to add that, because if your requirements are sufficiently
elaborate to want this, you should probably be writing recipes for
vmdb2 (or debos, or any similar tool) directly, instead of using
autopkgtest-build-qemu. The only special feature autopkgtest-virt-qemu
needs from its images is a login prompt on ttyS0, although a passwordless
root shell on ttyS1 will make it a bit more reliable.
Also, at the moment the YAML is self-contained, but I don't want to
guarantee that it will always be self-contained; and at the moment
it isn't pretty-printed to avoid a non-stdlib dependency, but for use
outside autopkgtest-build-qemu you would presumably want it to be.
smcv