MT#63155 efi_support: do not rely on presence of einfo function

The einfo() function is available via /etc/grml/lsb-functions,
which we don't source in our deployment.sh.

Fixes:

  Creating partition table
  /tmp/netscript.grml: line 357: einfo: command not found

Thanks: Volodymyr Fedorov for reporting

Change-Id: Ifc1d06fa8c7f64db502054c501c12e0d8b122dd5
master
Michael Prokop 4 days ago
parent 6a3bfe3e1d
commit 1cbbcc0b18

@ -354,7 +354,7 @@ efi_support() {
modprobe efivarfs &>/dev/null || true
if [ -d /sys/firmware/efi ] ; then
einfo "EFI support detected."
echo "EFI support detected."
return 0
fi

Loading…
Cancel
Save