Bug#800845: autopkgtest: Add support for nested VMs
Christian Seiler [2016-03-04 21:53 +0100]:
> Question: I think we should also define a canonical way of
> detecting baseimage support. I propose to use:
> [ -e /dev/baseimage ]
> Because that is very agnostic to details: if for example some cloud
> runner also wants to support this in the future, but provides access
> to a file instead of a block device, they can symlink that to
> /dev/baseimage and this test would still catch that. Using -b would
> be suboptimal.
A file symlink in /dev/ would be rather strange, and implementing that
with a single file in schroot/containers/ssh would be both inefficient
and inconvenient (bind mounts or similar are much better there). But
for the time being tests can use that indeed.
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: not available