Commit d419aca9 authored by Guido Gunther's avatar Guido Gunther
Browse files

funtions: Tell user which platform is unsupported

Print the checked machine in the error messages. This helps when users
report errors or when flash-kernel runs in an image build machinery and
the machine type is passed in via FK_MACHINE.
parent a9adfb89
......@@ -787,7 +787,7 @@ if ! check_supported "$machine"; then
echo "Unsupported platform on EFI system, doing nothing."
exit 0
fi
error "Unsupported platform."
error "Unsupported platform '$machine'."
fi
kfile_suffix=""
......
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