aplanas <aplanas@suse.de> writes:
On 2022-12-07 13:07, Dirk Müller wrote:
so the best option would indeed be -v0 with selected packages as -v3 when needed.
How this should be done? Maybe having openSUSE:Factory as v0, and openSUSE:Factory:V3 with a project config to set it as v3, and duplicating a very small subset of packages in the subproject?
Yes.
Should a generator add some `Requires: ($magic)` for those v3, and make a change in libsolv that will prioritize them in case of the correct hardware is present?
That is not enough, because you'll end up with two rpms with exactly the same architecture and thereby potentially with the same NEVR. Any tooling that relies on rpm will not be able to distinguish these two packages and could pick the wrong one. The correct solution for this is to implement subarchitectures in rpm. Cheers, Dan -- Dan Čermák <dcermak@suse.com> Software Engineer Development tools SUSE Software Solutions Germany GmbH Frankenstrasse 146 90461 Nürnberg Germany (HRB 36809, AG Nürnberg) Managing Director/Geschäftsführer: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman