diff options
author | root | 2016-06-06 14:20:21 +0200 |
---|---|---|
committer | root | 2016-06-06 14:20:21 +0200 |
commit | 9defe2019ac680ec01a93307f2e585408701c46c (patch) | |
tree | 18f4c3b708067f5c3cb77e0955d6afdd58be9829 /satellit_installer | |
parent | [SSPS] 50-add_mysql_dbs_users.inc: First restore db dump, then grant privs (diff) | |
download | setup-scripts-9defe2019ac680ec01a93307f2e585408701c46c.tar.gz setup-scripts-9defe2019ac680ec01a93307f2e585408701c46c.tar.xz setup-scripts-9defe2019ac680ec01a93307f2e585408701c46c.zip |
[SSPS] ipxe git and reset to last patchable commit
Diffstat (limited to 'satellit_installer')
-rw-r--r-- | satellit_installer/includes/10-install_ipxe.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/satellit_installer/includes/10-install_ipxe.inc b/satellit_installer/includes/10-install_ipxe.inc index cbea3f9..4e18619 100644 --- a/satellit_installer/includes/10-install_ipxe.inc +++ b/satellit_installer/includes/10-install_ipxe.inc @@ -1,8 +1,11 @@ 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" + # 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 6a3ffa0114411ae4aa6c4485c6058bf03fec3623 git apply --ignore-whitespace < "${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" |