summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2024-09-21 12:25:30 +0200
committerHolger Paradies <retabell@gmx.de>2024-09-22 14:58:43 +0200
commit6e40895560f7680258feec65345ce9843e8fbd9b (patch)
treef87884172ffdc92c5048a4d00765b8348f634510
parent52b1b202fb1b725a34e384961a73ac0a93568f71 (diff)
downloadkanotix-6e40895560f7680258feec65345ce9843e8fbd9b.zip
kanotix-6e40895560f7680258feec65345ce9843e8fbd9b.tar.gz
Check for EFI shell download
-rwxr-xr-xconfig/binary_local-hooks/grub2-efi6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/binary_local-hooks/grub2-efi b/config/binary_local-hooks/grub2-efi
index 0001128..4495dbc 100755
--- a/config/binary_local-hooks/grub2-efi
+++ b/config/binary_local-hooks/grub2-efi
@@ -85,3 +85,9 @@ done
[ -f binary/efi/boot/shell$efi_name.efi ] || \
wget -O binary/efi/boot/shell$efi_name.efi "https://github.com/tianocore/edk2-archive/raw/master/EdkShellBinPkg/FullShell/$shell_dir/Shell_Full.efi"
+if [ $? -ne 0 ]; then
+ echo "E: EFI shell download failed..."
+else
+ echo "Debug: EFI shell download succes..."
+fi
+# echo goes to binary.log