Bug#851226: qemubuilder does not pass options to debootstrap
Martín Ferrari
tincho at tincho.org
Fri Jan 13 04:24:30 UTC 2017
Package: qemubuilder
Version: 0.82
Severity: normal
Hi,
I noticed that when using qemubuilder --create, I can't pass extra command line
options to debootstrap, like I can do with cowbuilder and pbuilder.
Looking at the code, I see qemubuilder is calling debootstrap directly, and it
is silently discarding most options:
ret=forkexeclp("debootstrap", "debootstrap",
"--arch",
pc->arch,
"--foreign",
pc->distribution,
pc->buildplace,
pc->mirror,
NULL);
In general, all options passed with --debootstrapopts are *silently* discarded.
So, for example, this passes the option as expected:
$ cowbuilder --create --debootstrapopts --keyring=/dev/null
Whereas this does not:
$ qemubuilder --create --architecture amd64 --debootstrapopts --keyring=/dev/null
Thanks.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages qemubuilder depends on:
ii debootstrap 1.0.87
ii libc6 2.24-8
ii libncurses5 6.0+20161126-1
ii libtinfo5 6.0+20161126-1
ii pbuilder 0.227
ii qemu-system 1:2.8+dfsg-1
qemubuilder recommends no packages.
qemubuilder suggests no packages.
-- no debconf information
More information about the Pbuilder-maint
mailing list