mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-21 17:11:45 +00:00
-Refresh xnba-kvm spec file to 1.0.1 and more seamlessly go into a RHEL6 system
Former-commit-id: 60f27cb8dd131e4a1f4fae029439a1d0c85cc9db
This commit is contained in:
parent
a42b1af1f8
commit
9f6dd7185d
12
gpxe/gpxe-1.0.1-xnbauserclass.patch
Normal file
12
gpxe/gpxe-1.0.1-xnbauserclass.patch
Normal file
@ -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,
|
BIN
gpxe/gpxe-1.0.1.tar.bz2
Normal file
BIN
gpxe/gpxe-1.0.1.tar.bz2
Normal file
Binary file not shown.
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user