From f0b8cc7d0288f7425adc7bbc183d93d2621fd69f Mon Sep 17 00:00:00 2001 From: Christian Rößler Date: Mon, 7 May 2018 17:04:39 +0200 Subject: [SSPS] Leetle bug, some ipxe message stuff --- satellit_installer/includes/10-install_ipxe.inc | 3 +++ satellit_installer/satellit_installer | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/satellit_installer/includes/10-install_ipxe.inc b/satellit_installer/includes/10-install_ipxe.inc index d64c36e..2a5afd7 100644 --- a/satellit_installer/includes/10-install_ipxe.inc +++ b/satellit_installer/includes/10-install_ipxe.inc @@ -16,12 +16,15 @@ install_ipxe() { compile_ipxe() { echo "*** compiling iPXE in the background ..." + echo [ -z "$1" ] && perror "Call compile_ipxe with target directory!" cd "$1"/src make bin/undionly.kkkpxe + chown -R taskmanager:www-data "$1" if [ "$ERR" -ne 0 ]; then pwarning "*** Background compilation of iPXE failed." else echo "*** Background compilation of iPXE successful." fi + echo } diff --git a/satellit_installer/satellit_installer b/satellit_installer/satellit_installer index a113605..7a219bf 100755 --- a/satellit_installer/satellit_installer +++ b/satellit_installer/satellit_installer @@ -211,6 +211,6 @@ finalize # Cleaning script; finalize script will delete itself. echo "Warte auf eventuelle Hintergrundprozesse." wait -cat /tmp/ipxesuccess && rm /tmp/ipxesuccess +cat /tmp/ipxesuccess | tee -a /root/init.log && rm /tmp/ipxesuccess exit 0 -- cgit v1.2.3-55-g7522