Bug#363088: pbuilder: please add example script for cross-arch support i386/amd64
Loïc Minier
lool at dooz.org
Sat Jan 2 13:20:37 UTC 2010
Hey
On Mon, Apr 17, 2006, Tilman Koschnick wrote:
> Tags: patch
Thanks; unfortunately, the code has changed a bit since you submitted
your full replacement script; perhaps you could offer a diff of the
remaining changes instead?
> I've extended the pbuilder-distribution.sh example script to support
> cross-arch building for i386 and amd64. It would be nice if you could
> include it in the examples directory as well.
I just implemented architecture support in pbuilder and pdebuild:
pbuilder (0.196) unstable; urgency=low
[...]
* pbuilder: add support for setting the architecture on the command-line
and in pbuilderrc.
* pdebuild: add support for setting the architecture on the command-line
and in pbuilderrc; closes: #516625.
Perhaps you could adapt the script to use this instead? Note that
--arch is passed to debootstrap automatically.
I saw that your script calls "linux64 sudo ..." when building for
amd64; does this actually work under i386? I am not sure one can run
x86-64 binaries under i386. What's the use case for linux64 here?
Thanks!
--
Loïc Minier
More information about the Pbuilder-maint
mailing list