Bug#410575: [Pbuilder-maint] Bug#410575: pbuilder: better
document --debootstrapopts arguments with spaces
Junichi Uekawa
dancer at netfort.gr.jp
Wed Feb 14 00:41:54 UTC 2007
At Sun, 11 Feb 2007 21:32:34 +0100,
Filippo Giunchedi wrote:
>
> Package: pbuilder
> Version: 0.163
> Severity: wishlist
>
> Hi,
> passing arguments to --debootstrapopts with spaces can be tricky, the
> solution is to use multiple --debootstrapopts, i.e.:
>
> # pbuilder create --debbootstrapopts "-a i386" --debug --basetgz sid32.tar.gz --mirror http://ftp.it.debian.org/debian
>
> + cdebootstrap --variant=buildd '-a i386' sid . http://ftp.it.debian.org/debian
>
> this doesn't work of course, a possibile solution would be to set IFS='
> ' just before debootstrap invocation so the correct expansion is used,
> and restore it afterwards. Specifying multiple times --debootstrapopts
> indeed works as expected:
>
> # pbuilder create --debootstrapopts -a --debootstrapopts i386 --debug --basetgz sid32.tar.gz --mirror http://ftp.it.debian.org/debian
> + cdebootstrap --variant=buildd -a i386 sid . http://ftp.it.debian.org/debian
>
> either way, I think this needs to be documented in the man page :)
What do you want documented specifically more than what it is already documented?
More information about the Pbuilder-maint
mailing list