seth vidal wrote:
With the help of Tim and James A. I have a patch which lets the user
select what will happen when they are on a multilib arch and they do an:
install foo or install foo* as to which archs it will install by
default.
the config parameter is multilib_policy and it's options are best and
all.
all == the behavior yum has always had - which is to install all archs
it can (ie: i386 and x86_64)
best == install only the 'best' arch for that architecture. So on x86_64
it is x86_64, on ppc64 it should be ppc, on sparc64 it is is sparcv9,
etc
The default is 'all'
I guess this is one of the most demanded feature by many people.
Two small comments:
1. What about adding "other" to prefer the 32bit on x86 and 64bit on ppc?
(Let's hope we'll never get a machine with support for 3 different arches)
2. This policy should also be effective when installing packages for
dependency. This could probably be achieved by using .install() from the
depsolver. But this needs to be elaborated a bit more. IMHO we should merge
the __init__.py and depsolve.py code that manipulates the transaction anyway
to reduce and consolidate the code base.
Florian
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel