Skip to content
Snippets Groups Projects
Commit 4068b656 authored by Bob Mottram's avatar Bob Mottram
Browse files

Exit if kernel cannot be flashed

parent e8562ff6
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,10 @@ beaglebone_flash() {
# that fail in an emulated environment! We'll have to do it by
# hand below anyway...
export FK_MACHINE="$1"
$INSTALL_PACKAGES flash-kernel
if ! $INSTALL_PACKAGES flash-kernel; then
echo "Unable to flash kernel for $FK_MACHINE"
exit 64823562
fi
}
beaglebone_repack_kernel() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment