Skip to content

Commit

Permalink
Merge pull request #32 from happymab/fix/1225633_verify-efi
Browse files Browse the repository at this point in the history
Fix/1225633_verify-efi
  • Loading branch information
sysrich authored Jun 17, 2024
2 parents 5957a7b + bd6390d commit 965e7b0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion usr/lib/tik/modules/pre/10-welcome
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,15 @@ checkLaptop() {
fi
}

verify_efi() {
# Verify that the system was booted with EFI, exit with error if not
if [ ! -d /sys/firmware/efi ]; then
# System was not booted with EFI
local error_msg="openSUSE Aeon requires UEFI mode, which is not found on your system.\nPlease check your BIOS settings to see if UEFI can be enabled."
error "${error_msg}"
fi
}

proceedInstall
checkLaptop
verify_efi
checkLaptop

0 comments on commit 965e7b0

Please sign in to comment.