mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-21 17:11:45 +00:00
-Build more device boot roms
Former-commit-id: 3e0becacd24f7ae9e7c8a96eb4755ddaf8c6e46a
This commit is contained in:
parent
45d3d80e10
commit
20403514b0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user