yum and custom arch types.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I have been creating some packages with custom arch types to
distinguish their build optimizations creating a packages with the
following theme:

1. mypackage-version.fc12.core2.rpm  # a package built for FC12 with
core2 optimizations.

These foreign arch types are easily configured on a new system by
updating /etc/rpmrc:

arch_compat: x86_64: amd64 athlon noarch core2

...and also customizing /usr/lib/rpm/platforms/<my platform name> for
build options.  This all works great until I try to use yum:

 yum localinstall Package-1.2.1-1.opt.fc13.core2.rpm
Loaded plugins: presto, priorities, refresh-packagekit
Setting up Local Package Process
Examining Package-1.2.1-1.opt.fc13.core2.rpm: Package-1.2.1-1.opt.fc13.core2
Cannot add package Package-1.2.1-1.opt.fc13.core2.rpm to transaction.
Not a compatible architecture: core2
Nothing to do


So my quick questions:


 I can get this to work by hacking rpmUtils/arch.py and adding:

"x86_64": "core2",   # arches dict() in arch.py

but this does not seem like the right way :-)   Can anybody comment on
the procedure to get foreign "new" architectures fully recognized by
yum?  Im sure im just missing something simple.

Thank You!

Matt
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux