On Fri, 2026-06-26 at 14:17 +0200, Jochen Sprickerhof wrote:
> Hi Benjamin,
> 
> * Benjamin Drung <[email protected]> [2026-06-26 13:55]:
> > The autopkgtest_virt_server_options seems to be ignored:
> > 
> > $ sbuild --run-autopkgtest --no-run-lintian
> > [...]
> > autopkgtest [13:37:38]: [...]; command line: /usr/bin/autopkgtest 
> > [...]/tzdata_2026b-1_amd64.changes -- unshare --release unstable --arch 
> > amd64
> > ```
> > 
> > According to my config `-b /dev/kvm /dev/kvm` should have been added or
> > am I holding it wrong?
> > 
> > I would expect that I could set the options specific to the virt server,
> > but I do not see that possibility in the config.
> > 
> > -- Configuration Files:
> > /etc/sbuild/sbuild.conf changed:
> > $build_arch_all = 1;
> > $build_source = 1;
> > $clean_source = 0;
> > $lintian_opts = ['--display-info', '--pedantic', '--display-experimental'];
> > $apt_update = 0;
> > $apt_distupgrade = 0;
> > $unshare_mmdebstrap_keep_tarball = 1;
> > push @{$unshare_mmdebstrap_extra_args}, "*", ['--aptopt=Acquire::http { 
> > Proxy "http://127.0.0.1:3142";; }', '--skip=cleanup/apt/lists'];
> > push @{$unshare_mmdebstrap_extra_args}, 
> > qr/^(trusty|xenial|bionic|focal|jammy|noble|questing|resolute|stonking)/, 
> > ['http://de.archive.ubuntu.com/ubuntu'];
> > push @{$unshare_mmdebstrap_extra_args}, 
> > qr/^(trusty|xenial|bionic|focal|jammy|noble|questing|resolute|stonking)/, 
> > ['--components=main,universe'];
> > $unshare_mmdebstrap_max_age = 86400;
> > $autopkgtest_virt_server = 'unshare';
> > $autopkgtest_virt_server_options = ['-b', '/dev/kvm', '/dev/kvm'];
> > 1;
> 
> Note that $autopkgtest_virt_server_options is only used for 
> --chroot-mode=autopkgtest, not for --run-autopkgtest. I guess you want 
> $autopkgtest_opts instead. Can you close this if I am correct?

Then the comment for autopkgtest_virt_server_options is misleading:

> Additional command-line options for autopkgtest-virt-*


Can this comment be clarified.

It would be nice if I could set autopkgtest-virt-* options per runner.
Should I file a new bug for that?

-- 
Benjamin Drung
Debian & Ubuntu Developer

Reply via email to