diff --git a/gpxe/xnba-kvm.spec b/gpxe/xnba-kvm.spec index 4ccc878..82f6d79 100644 --- a/gpxe/xnba-kvm.spec +++ b/gpxe/xnba-kvm.spec @@ -55,6 +55,9 @@ rm -rf %{buildroot} cd src make bin/e1000.rom make bin/virtio-net.rom +make bin/rtl8139.rom +make bin/pcnet32.rom +make bin/ne.rom %install @@ -62,9 +65,15 @@ make bin/virtio-net.rom mkdir -p %{buildroot}/usr/share/qemu/ mkdir -p %{buildroot}/usr/share/etherboot cp src/bin/e1000.rom %{buildroot}/usr/share/etherboot/e1000-82542.zrom +cp src/bin/pcnet32.rom %{buildroot}/usr/share/etherboot/pcnet32.zrom +cp src/bin/ne.rom %{buildroot}/usr/share/etherboot/ne.zrom +cp src/bin/rtl8139.rom %{buildroot}/usr/share/etherboot/rtl8139.zrom cp src/bin/virtio-net.rom %{buildroot}/usr/share/etherboot/virtio-net.zrom ln -sf ../etherboot/e1000-82542.zrom %{buildroot}/usr/share/qemu/pxe-e1000.bin ln -sf ../etherboot/virtio-net.zrom %{buildroot}/usr/share/qemu/pxe-virtio.bin +ln -sf ../etherboot/ne.zrom %{buildroot}/usr/share/qemu/pxe-ne2k_pci.bin +ln -sf ../etherboot/pcnet32.zrom %{buildroot}/usr/share/qemu/pxe-pcnet.bin +ln -sf ../etherboot/rtl8139.zrom %{buildroot}/usr/share/qemu/pxe-rtl8139.bin %post