Bug#409149: [Pbuilder-maint] Bug#409149: pdebuild: limitation with
pdebuild command (debbuildopts and its -a option)
Junichi Uekawa
dancer at netfort.gr.jp
Mon Feb 5 23:43:47 UTC 2007
Hi,
> > 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.)
One thing is that I really wanted to make pdebuild command not require
the knowledge of chroot; since pdebuild invokes pbuilder, and chroot
is extracted and removed within pbuilder session, outside of control
of pdebuild.
This may need changing.
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
More information about the Pbuilder-maint
mailing list