Package: sbuild
Version: 0.78.1-2
Severity: minor

sbuild(1) has an inconsistency WRT what the --chroot option does in
combination with --chroot-mode=autopkgtest. One block says it has no
effect (and this is what I'm seeing), the other says it's passed on to
the virt server.

The description of --chroot says:
  [...]  With the autopkgtest chroot mode this option has no effect.
  The --autopkgtest-virt-server-opts are used to pick the chroot in
  autopkgtest chroot mode.

The  descriptions of--autopkgtest-virt-server says:
  The value of the --chroot option will be passed as the last positional
  argument to the autopkgtest-virt-* invocation. Thus, the value of the
  --chroot option becomes the image name of the virtual machine in case
  of autopkgtest-virt-qemu, the lxc-container name in case of
  autopkgtest-virt-lxc, the path to the chroot in case of autopkgtest
  virt-chroot, the name of the schroot in case of autopkgtest-virt
  schroot and soon.

This latter description seems to be false, at least with
--autopkgtest-virt-server=qemu. I haven't tried the other servers.

Reply via email to