Package: autopkgtest
Version: 5.47
Severity: normal

Hi,

In Debusine, we moved from building VM images with debos (in a UML / KVM VM) to 
debefivm-create [0], which builds the base filesystem with mmdebstrap.

[0]: https://salsa.debian.org/helmutg/debvm/-/blob/main/bin/debefivm-create

This breaks this VM image detection logic:

https://salsa.debian.org/ci-team/autopkgtest/-/blob/07eb656d26b097028c28ff743f4ea7eb71bc2d01/setup-commands/setup-testbed#L72

> if [ "$root" != "/" ] || [ -e /dev/ttyS1 ] || [ -e /dev/hvc1 ]; then

$root is / and the host's serial devices are... whatever they are.

Ideas:
1. We could just always install these root shell services (but they are 
   a security risk, if these images are used for anything other than 
   autopkgtest)
2. Detect a kernel?
3. Have a command line argument to install them?

Stefano

Reply via email to