Putting cross compilers into Fedora
Panu Matilainen
pmatilai at laiskiainen.org
Wed Sep 1 18:50:18 UTC 2010
On Wed, 1 Sep 2010, Ralf Corsepius wrote:
>
> b) To equippe the rpm/yum/mock etc. infrastructure with a mechanism to
> pull-in "foreign binaries" into a sys-root (E.g. to install Fedora
> *.ppc.rpm rpms into /usr/ppc-redhat/sys-root). So far, such mechanism
> doesn't exist.
You should be able to force rpm to lay down the files, given enough
override-switches. Something like
# rpm -Uvh --root /usr/ppc-redhat/sys-root --ignorearch --noscripts *.rpm
(or alternatively --relocate with --badrelocate instead of --root, if you
want the packages showing in system rpmdb instead of alternate root, and
then you'd /really/ need arch-specific buildrequires which in turn is
another can of worms etc)
...but the resulting pile of files is likely to be fairly useless since
no scripts are executed. Having some way of executing scriptlets in an
emulator (eg qemu) might be an interesting experiment actually ;)
- Panu -
More information about the devel
mailing list