| |
@@ -171,10 +171,11 @@
|
| |
# The machine type uses a modern default
|
| |
# The kernel parameters workaround an issue with cgroupsv2 after kernel 5.3
|
| |
# To-do: add BUILDFLAGS=gobuildflags when the macro becomes available
|
| |
- %global qemu qemu-kvm
|
| |
%if 0%{?fedora}
|
| |
+ %global qemu qemu-system-%{_arch}
|
| |
%global qemupath %{_bindir}/%{qemu}
|
| |
%else
|
| |
+ %global qemu qemu-kiwi
|
| |
%global qemupath %{_libexecdir}/%{qemu}
|
| |
%endif
|
| |
|
| |
Let's update the QEMU binary used for Fedora & others and, consequently,
also update their location.
For Fedora we rely on the qemu-system-$arch rather than on qemu-kvm, and
the correct binary will be installed by the qemu-kvm-core package.
For others, we depend on the qemu-kiwi binary.
Signed-off-by: Fabiano Fidêncio fidencio@redhat.com