spec: Add rhel conditional for qemuroms
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
fd5ab2443c
commit
55b448c3bd
11
ipxe.spec
11
ipxe.spec
@ -4,14 +4,19 @@
|
|||||||
|
|
||||||
# ROMS we want for QEMU with format PCIID:QEMUNAME
|
# ROMS we want for QEMU with format PCIID:QEMUNAME
|
||||||
%global qemuroms \\\
|
%global qemuroms \\\
|
||||||
10222000:pcnet \\\
|
|
||||||
10ec8029:ne2k_pci \\\
|
|
||||||
8086100e:e1000 \\\
|
8086100e:e1000 \\\
|
||||||
10ec8139:rtl8139 \\\
|
10ec8139:rtl8139 \\\
|
||||||
1af41000:virtio \\\
|
1af41000:virtio \\\
|
||||||
|
808610d3:e1000e
|
||||||
|
|
||||||
|
%if 0%{?fedora}
|
||||||
|
# Fedora specific roms
|
||||||
|
%global qemuroms %{qemuroms} \\\
|
||||||
|
10222000:pcnet \\\
|
||||||
|
10ec8029:ne2k_pci \\\
|
||||||
80861209:eepro100 \\\
|
80861209:eepro100 \\\
|
||||||
808610d3:e1000e \\\
|
|
||||||
15ad07b0:vmxnet3
|
15ad07b0:vmxnet3
|
||||||
|
%endif
|
||||||
|
|
||||||
# We only build the ROMs if on an x86 build host. The resulting
|
# We only build the ROMs if on an x86 build host. The resulting
|
||||||
# binary RPM will be noarch, so other archs will still be able
|
# binary RPM will be noarch, so other archs will still be able
|
||||||
|
Loading…
Reference in New Issue
Block a user