[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#800845: autopkgtest: Add support for nested VMs



Hello Christian,

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


-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20160304/7f20afbe/attachment.sig>


Reply to: