diff --git a/gpxe/gpxe-1.0.1-xnbauserclass.patch b/gpxe/gpxe-1.0.1-xnbauserclass.patch new file mode 100644 index 0000000..888efff --- /dev/null +++ b/gpxe/gpxe-1.0.1-xnbauserclass.patch @@ -0,0 +1,12 @@ +diff -urN gpxe-1.0.1/src/net/udp/dhcp.c gpxe-1.0.1-xnbauserclass/src/net/udp/dhcp.c +--- gpxe-1.0.1/src/net/udp/dhcp.c 2010-06-29 15:31:33.000000000 -0400 ++++ gpxe-1.0.1-xnbauserclass/src/net/udp/dhcp.c 2010-07-29 16:12:58.000000000 -0400 +@@ -78,7 +78,7 @@ + DHCP_CLIENT_ARCHITECTURE, DHCP_ARCH_CLIENT_ARCHITECTURE, + DHCP_CLIENT_NDI, DHCP_ARCH_CLIENT_NDI, + DHCP_VENDOR_CLASS_ID, DHCP_ARCH_VENDOR_CLASS_ID, +- DHCP_USER_CLASS_ID, DHCP_STRING ( 'g', 'P', 'X', 'E' ), ++ DHCP_USER_CLASS_ID, DHCP_STRING ( 'x', 'N', 'B', 'A' ), + DHCP_PARAMETER_REQUEST_LIST, + DHCP_OPTION ( DHCP_SUBNET_MASK, DHCP_ROUTERS, DHCP_DNS_SERVERS, + DHCP_LOG_SERVERS, DHCP_HOST_NAME, DHCP_DOMAIN_NAME, diff --git a/gpxe/gpxe-1.0.1.tar.bz2 b/gpxe/gpxe-1.0.1.tar.bz2 new file mode 100644 index 0000000..c121b88 Binary files /dev/null and b/gpxe/gpxe-1.0.1.tar.bz2 differ diff --git a/gpxe/xnba-kvm.spec b/gpxe/xnba-kvm.spec index 941c39a..3d88224 100644 --- a/gpxe/xnba-kvm.spec +++ b/gpxe/xnba-kvm.spec @@ -1,9 +1,11 @@ Name: xnba-kvm -Version: 1.0.0 -Release: 4 +Version: 1.0.1 +Release: 1 Summary: xNBA loader for virtual guests Obsoletes: etherboot-zroms-kvm Provides: etherboot-zroms-kvm +Obsoletes: gpxe-roms-qemu +Provides: gpxe-roms-qemu Group: System Environment/Kernel License: GPL @@ -26,7 +28,7 @@ Patch2: gpxe-1.0.0-config.patch Patch3: gpxe-0.9.7-ignorepackets.patch Patch4: gpxe-0.9.7-kvmworkaround.patch Patch5: gpxe-1.0.0-hdboot.patch -Patch6: gpxe-0.9.7-xnbauserclass.patch +Patch6: gpxe-1.0.1-xnbauserclass.patch Patch7: gpxe-0.9.7-undinet.patch Patch8: gpxe-1.0.0-int18boot.patch Patch9: gpxe-1.0.0-exittohd.patch @@ -62,22 +64,30 @@ make bin/virtio-net.rom make bin/rtl8139.rom make bin/pcnet32.rom make bin/ne.rom +make bin/rtl8029.rom %install mkdir -p %{buildroot}/usr/share/qemu/ +mkdir -p %{buildroot}/usr/share/gpxe 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/rtl8029.rom %{buildroot}/usr/share/etherboot/rtl8029.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 +ln -sf ../etherboot/e1000-82542.zrom %{buildroot}/usr/share/gpxe/e1000-0x100e.rom +ln -sf ../etherboot/virtio-net.zrom %{buildroot}/usr/share/gpxe/virtio-net.rom +ln -sf ../etherboot/pcnet32.zrom %{buildroot}/usr/share/gpxe/pcnet32.rom +ln -sf ../etherboot/rtl8139.zrom %{buildroot}/usr/share/gpxe/rtl8139.rom +ln -sf ../etherboot/rtl8029.zrom %{buildroot}/usr/share/gpxe/rtl8029.rom %post