On 03/02/2010 12:44 AM, Patrick Matthäi wrote:
In the live helper faq there is described, how to add my own deb's to the
live-cd (copying it to the specific chroot folder), that is working,
if the
deb == build-arch.
the idea is that somone can put binary packages for several
architectures into chroot_local-packages and use the same config tree to
build images for several architectures, live-helper automatically takes
whatever is suitable for a given architecture. this is a sane and
reasonable standard behaviour for 99.99% of all use-cases.
changing this standard behaviour doesn't make any sense. installing i386
packages on an amd64 system, although it works, is not supported by
debian itself, and live-helper will therefore, by default, not support
that either.
Anyway I tried to build an amd64 image with
libstdc++2.10-glibc2.2_2.95.4-27_i386.deb,
but live-helper ignores this deb file, because i386 != amd64 (without any
warning).
I would wish, that live-helper is also able to add i386 debs to amd64
builds.
adding a special configuration option that would tell live-helper to not
just install the target architecture packages, but also certain other
packages of a foreign architecture certainly is possible, but imho not
worth the effort (and would be too inflexible anyway, and cluttering the
config tree uselessly).