Update boot.fedoraproject.org readme/info for ipxe.

This commit is contained in:
Kevin Fenzi 2012-05-16 09:45:46 -06:00
parent c9c31b4000
commit c6c04fbda3
2 changed files with 35 additions and 22 deletions

View file

@ -1,14 +0,0 @@
Fedora infrastructure build's it's private BFO instance with this:
http://www.rom-o-matic.net/gpxe/gpxe-1.0.1/contrib/rom-o-matic/build.php
Place this in embedded script:
========== Snip ==========
#!gpxe
echo Please provide, IP address, Netmask, Gateway and Router
ifopen net0
config net0
set 209:string pxelinux.cfg/default
set 210:string http://mmcgrath.fedorapeople.org/gpxe/
chain http://mmcgrath.fedorapeople.org/gpxe/pxelinux.0

View file

@ -1,11 +1,38 @@
To build the gpxe images, first download the source tarball from cvs. Then: boot.fedoraproject.org uses ipxe for it's boot images.
http://ipxe.org/
cd src From time to time we want to refresh the ipxe images used.
cp /path/to/bfo/*gpxe ./ This is to update for new hardware enablement or fix bugs.
sudo ln -s /usr/share/syslinux /usr/lib/syslinux Where possible, such updates should be done outside of any
make EMBEDDED_IMAGE=dhcp.gpxe,static.gpxe bin/gpxe.iso release freezes.
To rebuild the ipxe images, check out the latest upstream tree from git:
Note: Building new pxe images should really only be used to fix bugs in gpxe. git clone git://git.ipxe.org/ipxe.git
BFO menus and things are downloaded with every boot so new pxe images don't cd ipxe/src
need to be built for most changes.
make a script0.ipxe there, containing:
--cut here--
#!ipxe
set 209:string pxelinux.cfg/default
set 210:string http://dl.fedoraproject.org/pub/alt/bfo/
dhcp || goto manualnet
chain http://dl.fedoraproject.org/pub/alt/bfo/pxelinux.0
:manualnet
echo Please provide, IP address, Netmask, Gateway and Router
ifopen net0
config net0
chain http://dl.fedoraproject.org/pub/alt/bfo/pxelinux.0
--cut here--
Then, make the images with:
make EMBED=script0.ipxe
Copy the resulting binaries to secondary01:
bin/ipxe.iso
bin/ipxe.dsk
bin/ipxe.lkrn
bin/ipxe.usb