tool/run/grub2: user-friendly missing message

Ref #2526
This commit is contained in:
Martin Stein 2017-11-10 16:31:21 +01:00 committed by Christian Helmuth
parent f831800ae0
commit 054b8de67b

View File

@ -7,11 +7,14 @@ proc get_grub2_dir { } {
if {![file exists $grub2_path]} {
puts ""
puts "GRUB2 binaries are missing."
puts "You can download the GRUB2 binaries by invoking:"
puts "\ttool/ports/prepare_port grub2"
puts "Port not prepared or outdated:"
puts " grub2"
puts ""
puts "You can prepare respectively update it as follows:"
puts " [genode_dir]/tool/ports/prepare_port grub2"
puts ""
exit 1
}
return $grub2_path
}