W dniu 10.10.2016 o 16:34, Paolo Bonzini pisze:
On 10/10/2016 13:30, Sandro Bonazzola wrote:
> just seen:
> DEBUG util.py:421: Error: Package:
> 2:qemu-system-aarch64-2.6.1-1.fc24.ppc64le (updates)
> DEBUG util.py:421: Requires: edk2-aarch64
> DEBUG util.py:421: Error: Package:
> 2:qemu-system-x86-2.6.1-1.fc24.ppc64le (updates)
> DEBUG util.py:421: Requires: edk2-ovmf
>
> While installing qemu on ppc64le Fedora.
> Any ETA on fixing it?
The reason for this is documented in edk2.spec.
# actual firmware builds support cross-compiling. edk2-tools
# in theory should build everywhere without much trouble, but
# in practice the edk2 build system barfs on archs it doesn't know
# (such as ppc), so lets limit things to the known-good ones.
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64
I suppose that QEMU should not require edk2 on architectures other than
ARM and x86.
edk2-* packages are noarch. Secondary architectures should imho import
built binary packages into repository.
Qemu allows you to emulate several architectures on many architectures -
basically any Fedora supported one (primary or secondary) on any of them.
qemu-system-{x86,aarch64,arm,x86-64} may use UEFI binary to run VM.
Some time ago I was using virt-manager to test aarch64, arm, ppc64,
ppc64le, x86, x86-64 VMs on aarch64 and x86-64 hosts.