Bug#409149: [Pbuilder-maint] Bug#409149: pdebuild: limitation with pdebuild command (debbuildopts and its -a option)

Loïc Minier lool at dooz.org
Wed Jan 31 15:36:25 CET 2007


On Wed, Jan 31, 2007, Junichi Uekawa wrote:
> Basically, pdebuild needs an '--architecture' option, to override the
> current architecture, since the architecture information is only
> available from what's inside chroot, and pdebuild doesn't really know
> what's inside chroot.

 I gave some thought to this and while I don't think there's a standard
 way to retrive the architecture from the chroot, I think we could add
 it at "pbuilder create" time: the debootstrapping wrapper would write
 /etc/pbuilder_arch or something similar and we could read that file
 when parsing build-deps.

 (But perhaps I don't know about it and there's an easy command to run
 in the chroot to retrieve the arch.)

-- 
Loïc Minier <lool at dooz.org>




More information about the Pbuilder-maint mailing list