Add dependency on edk2-riscv64
It's part of Fedora, it works fine and in fact many recent guest images expect to be booted via UEFI. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
bd268d19cc
commit
d364afeef7
@ -133,7 +133,7 @@
|
|||||||
|
|
||||||
# Matches edk2.spec ExclusiveArch
|
# Matches edk2.spec ExclusiveArch
|
||||||
%global have_edk2 0
|
%global have_edk2 0
|
||||||
%ifarch %{ix86} x86_64 %{arm} aarch64
|
%ifarch %{ix86} x86_64 %{arm} aarch64 riscv64
|
||||||
%global have_edk2 1
|
%global have_edk2 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -1402,6 +1402,9 @@ This package provides the QEMU system emulator for RISC-V systems.
|
|||||||
%package system-riscv-core
|
%package system-riscv-core
|
||||||
Summary: QEMU system emulator for RISC-V
|
Summary: QEMU system emulator for RISC-V
|
||||||
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
||||||
|
%if %{have_edk2}
|
||||||
|
Requires: edk2-riscv64
|
||||||
|
%endif
|
||||||
%description system-riscv-core
|
%description system-riscv-core
|
||||||
This package provides the QEMU system emulator for RISC-V systems.
|
This package provides the QEMU system emulator for RISC-V systems.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user