From 8db7c9833133f1b67d3a2b4d39ff8f0906bf2334 Mon Sep 17 00:00:00 2001 From: Phil Wise Date: Thu, 8 Mar 2018 11:50:03 +0100 Subject: Fix name of R-Pi image in flash-image.sh --- meta-sota-raspberrypi/scripts/flash-image.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-sota-raspberrypi/scripts/flash-image.sh b/meta-sota-raspberrypi/scripts/flash-image.sh index 74707bc..9692137 100755 --- a/meta-sota-raspberrypi/scripts/flash-image.sh +++ b/meta-sota-raspberrypi/scripts/flash-image.sh @@ -55,7 +55,7 @@ if [ -z "$1" ]; then echo " Example: sdb" echo "" echo " imagefile : An image file generated by bitbake (optional)." - echo " Default: ./tmp/deploy/images/raspberrypi3/rpi-basic-image-raspberrypi3.rpi-sdimg-ota" + echo " Default: ./tmp/deploy/images/raspberrypi3/rpi-basic-image-raspberrypi3.wic" echo "" echo " The following utilities are prerequisites:" echo "" @@ -71,7 +71,7 @@ fi set -euo pipefail DEVICE_TO_FLASH=$1 -IMAGE_TO_FLASH="${2-tmp/deploy/images/raspberrypi3/rpi-basic-image-raspberrypi3.rpi-sdimg-ota}" +IMAGE_TO_FLASH="${2-tmp/deploy/images/raspberrypi3/rpi-basic-image-raspberrypi3.wic}" DEVICE_IS_REMOVABLE=$(cat /sys/block/$DEVICE_TO_FLASH/removable) if [[ $DEVICE_IS_REMOVABLE != "1" ]]; then -- cgit v1.2.3-54-g00ecf