blob: 2f0056b7f18be3c1aa934306a05f01b70e08afe3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
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"
}
|