added README for ipxe static files

This commit is contained in:
Christian Goll
2022-10-19 10:38:38 +02:00
parent c0cedf6d3d
commit c715d98ea5
2 changed files with 15 additions and 4 deletions

View File

@@ -1,4 +1,7 @@
#!/bin/sh
# Builds ipxe binaries from github sources or given tarball
VERSION=v1.21.1
ARCH=x86_64
@@ -11,11 +14,17 @@ EFI_output=`pwd`/staticfiles/${ARCH}.efi
set -xe
TMPDIR=`mktemp -d`
cd "$TMPDIR"
TMPDIR=`mktemp -d /tmp/ipxebuild.XXXXXX`
if [ -f "$1" ] ; then
WRKDIR=`pwd`
cd "$TMPDIR"
tar xzf $WRKDIR/$1
else
cd "$TMPDIR"
git clone --depth 1 --branch $VERSION https://github.com/ipxe/ipxe.git
fi
git clone https://github.com/ipxe/ipxe.git
cd ipxe/src
cd ipxe*/src
sed -i.bak \
-e 's,//\(#define.*CONSOLE_SERIAL.*\),\1,' \

2
staticfiles/README.md Normal file
View File

@@ -0,0 +1,2 @@
# iPXE binaries
Binaries can be rebuild with the `ixpe-update.sh` script.