qemu-debootstrap doesn't parse --keyring correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu (Debian) |
Unknown
|
Unknown
|
|||
qemu-kvm (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: qemu-kvm
pbuilder passes arguments to qemu-debootstrap which it doesn't parse
correctly:
| # pbuilder --create --distribution sid --debootstrapopts --arch=armel --debootstrap qemu-debootstrap
|...
| I: running qemu-debootstrap
| /usr/bin/
| I: Running command: debootstrap --arch armel --foreign --include=apt --variant=buildd --keyring /usr/share/
|...
| I: Running command: chroot sid /debootstrap/
| chroot: failed to run command `/debootstrap/
| E: qemu-debootstrap failed
| W: Aborting with an error
The bug is qemu-debootstrap can parse --keyring=foo but not --keyring foo. It
shifts all the arguments up by one, and thinks "sid" is the target, rather than
the distribution.
Patch attached.
SR
Please see bug 671126. The conclusion there was that it makes more sense for
pbuilder to send the expected arguments than for qemu-debootstrap to be changed.