summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Rößler2018-05-07 16:49:53 +0200
committerChristian Rößler2018-05-07 16:49:53 +0200
commit7927bb090b72b49c9bfe012b4b0c28cc7afa681f (patch)
treec4634cf6ebb9b96f9b12844b0603edbbdf8e9d5c
parent[SSPS] ipxe background compilation to an warlier place (diff)
downloadsetup-scripts-7927bb090b72b49c9bfe012b4b0c28cc7afa681f.tar.gz
setup-scripts-7927bb090b72b49c9bfe012b4b0c28cc7afa681f.tar.xz
setup-scripts-7927bb090b72b49c9bfe012b4b0c28cc7afa681f.zip
[SSPS] Some unneeded stuff deleted
-rw-r--r--satellit_installer/includes/10-install_ipxe.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/satellit_installer/includes/10-install_ipxe.inc b/satellit_installer/includes/10-install_ipxe.inc
index 0205552..d64c36e 100644
--- a/satellit_installer/includes/10-install_ipxe.inc
+++ b/satellit_installer/includes/10-install_ipxe.inc
@@ -1,16 +1,13 @@
install_ipxe() {
[ -z "$1" ] && perror "Call install_ipxe with target directory!"
- local OLDPWD=$(pwd)
# chr 20160602: Kein --depth wg. commit-ID fuer Patch
# git clone --depth 1 git://git.ipxe.org/ipxe.git "$1" || perror "Cloning ipxe repo failed"
git clone git://git.ipxe.org/ipxe.git "$1" || perror "Cloning ipxe repo failed"
cd "$1"
git reset --hard 936657832f2262ad04bdf16b9229ce0b1d1c174f
git apply --ignore-whitespace < "${BASEDIR}/static_files/ipxe.patch" || perror "Could not patch ipxe compile-time configuration"
- cd src
-
- cd "${OLDPWD}" > /dev/null
+ cd - > /dev/null
wget -O "$1/pxelinux.0" "$HTTP_BASE/pxelinux.0" || perror "Could not download pxelinux 4 from $HTTP_BASE"
# Symlink for USB-Stick HTTP access
mkdir -p "$WWWDIR"