Commit fcd30807 authored by Stefan Bader's avatar Stefan Bader

Build: Find "grub2-mkrescue"

Prior to this cmake could only find "grub-mkrescue".

Change-Id: Id16ce4958d826953387c80865aafe47a5660eecd
parent 9baa85cf
......@@ -11,7 +11,7 @@ foreach(ELF ${EXECUTABLES})
file(MAKE_DIRECTORY ${STARTUP_SCRIPTS})
# Grub
find_program(GRUB_MKRESCUE "grub-mkrescue")
find_program(GRUB_MKRESCUE NAMES "grub-mkrescue" "grub2-mkrescue")
if(NOT GRUB_MKRESCUE)
message(FATAL_ERROR "grub-mkrescue not found, cannot create bootable iso :(")
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment