Commit 4fb57e83 authored by Matt Devillier's avatar Matt Devillier

coreboot_util: exit script if updating via Heads

Exit script immediately rather than returning to the
main menu so that the filename remains visible to the
user / makes it easier to copy to USB
Signed-off-by: Matt Devillier's avatarMatt DeVillier <matt.devillier@puri.sm>
parent 1e8b7dc4
Pipeline #5764 canceled with stages
......@@ -738,6 +738,9 @@ use_precompiled_image () {
else
cp ${LOCAL_FIRMWARE_PATH}/$COREBOOT_IMAGE . >/dev/null
echo "You may now copy the coreboot update file ($COREBOOT_IMAGE) to USB for updating via Heads."
echo ""
read -ep "Press [Enter] to exit."
exit 0
fi
}
......@@ -1086,6 +1089,9 @@ build_coreboot() {
fi
else
echo "You may now copy the coreboot update file ($COREBOOT_IMAGE) to USB for updating via Heads."
echo ""
read -ep "Press [Enter] to exit."
exit 0
fi
}
......
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