summaryrefslogtreecommitdiffstats
path: root/satellit_installer/includes/10-install_ipxe.inc
diff options
context:
space:
mode:
authorSimon Rettberg2015-12-14 14:36:50 +0100
committerSimon Rettberg2015-12-14 14:36:50 +0100
commit9c4a4b7dbc9668ddd155e8bc0a408acf7ece1b3a (patch)
tree90d77fd8dbf79fa382fc039b98c19be3722e8b4f /satellit_installer/includes/10-install_ipxe.inc
parent[SSPS] Get ipxe from git, move ipxe+pxelinux4 from /v4/ to / (diff)
downloadsetup-scripts-9c4a4b7dbc9668ddd155e8bc0a408acf7ece1b3a.tar.gz
setup-scripts-9c4a4b7dbc9668ddd155e8bc0a408acf7ece1b3a.tar.xz
setup-scripts-9c4a4b7dbc9668ddd155e8bc0a408acf7ece1b3a.zip
[SSPS] Patch ipxe compile time config (disable unneeded features)
Diffstat (limited to 'satellit_installer/includes/10-install_ipxe.inc')
-rw-r--r--satellit_installer/includes/10-install_ipxe.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/satellit_installer/includes/10-install_ipxe.inc b/satellit_installer/includes/10-install_ipxe.inc
index d8c9326..2f0056b 100644
--- a/satellit_installer/includes/10-install_ipxe.inc
+++ b/satellit_installer/includes/10-install_ipxe.inc
@@ -2,5 +2,8 @@
install_ipxe() {
[ -z "$1" ] && perror "Call install_ipxe with target directory!"
git clone --depth 1 git://git.ipxe.org/ipxe.git "$1" || perror "Cloning ipxe repo failed"
+ cd "$1"
+ git apply < "${BASEDIR}/static_files/ipxe.patch" || perror "Could not patch ipxe compile-time configuration"
+ cd - > /dev/null
wget -O "$1/pxelinux.0" "$HTTP_BASE/pxelinux.0" || perror "Could not download pxelinux 4 from $HTTP_BASE"
}