Open rb2k opened 3 years ago
Ah, it seems like I might have to add some code to treat it similarly to this flag:
and then
Hmm, I think this might also not be easily surfaced in libdnf yet? I think I might need to do something similar to what @jrohel did in https://github.com/rpm-software-management/libdnf/pull/1116
Update
It seems like ignorearch is not picked up from the dnf.conf
PREVIOUS CONTEXT
We are running rpm and microdnf on our mac fleet.
I am experimenting with Apple's new M1 CPUs, so I'd like to be able to install x86 and aarch64 RPMs on the M1 machines since they can run both (one natively, one via rosetta 2). To make things a bit simpler, I tried to start with the easy use-case: allow installation of aarch64 architecture RPMs ona an x86 machine.
For RPM, all I needed to do was add aarch64 as a compatible option for x86_64:
And I was able to install the RPM with rpm directly:
However, if try to install the same RPM from the repo using microDNF:
This is a very similar (but not exactly the same) error message as if I didn't have the rpmrc file set up correctly.
I tried setting
In the dnf.conf, but no luck so far.
Any idea what else I would have to do to let microdnf recognize the additional arch as valid?