2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-25 19:08:35 +00:00
xNBA/contrib/errcode
Michael Brown 8406115834 [build] Rename gPXE to iPXE
Access to the gpxe.org and etherboot.org domains and associated
resources has been revoked by the registrant of the domain.  Work
around this problem by renaming project from gPXE to iPXE, and
updating URLs to match.

Also update README, LOG and COPYRIGHTS to remove obsolete information.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-04-19 23:43:39 +01:00
..
build_errcodedb.py [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
errcode.php [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
errcode.py [Contribs] Add simple IRC bot for looking up error codes. 2008-05-20 20:28:57 +01:00
errcodedb.py [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
errcodedb.pyc [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
gpxebot.py [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
README [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00

Error Code Lookup for iPXE
==========================
This program looks up iPXE error codes so you can locate the line of source
code which produced the error.

Setup
-----
You must run:
./build_errcodedb.py >errcodedb.py

This extracts error code definitions from the iPXE source code and produces a
"database" which is used by the main program.

Once you have done this errcode.py and errcodedb.py are the only files you
need.  They are now independent of the iPXE source code and can be moved
anywhere.

[OPTIONAL]
A PHP script is provided as a web interface.  First edit errcode.php to point
$ERRCODE_PATH to the errcode.py script.  Then move errcode.php to a location
visible from your web server.

[OPTIONAL]
A simple IRC bot is provided.  Edit ipxebot.py to fill in the IRC details.

Usage
-----
Looking up error codes on the command-line:
./errcode.py 0x12345678

Further information
-------------------
See http://etherboot.org/.

Released under the GPL and written by Stefan Hajnoczi <stefanha@gmail.com>.