diff --git a/lib/debootstrap-ng.sh b/lib/debootstrap-ng.sh index 389720b5ca..227ec6121d 100644 --- a/lib/debootstrap-ng.sh +++ b/lib/debootstrap-ng.sh @@ -597,7 +597,7 @@ create_image() # write image to SD card if [[ -e "$CARD_DEVICE" && -f $DEST/images/${version}.img && $COMPRESS_OUTPUTIMAGE != yes ]]; then display_alert "Writing image" "$CARD_DEVICE" "info" - etcher $DEST/images/${version}.img -d $CARD_DEVICE -y + balena-etcher $DEST/images/${version}.img -d $CARD_DEVICE -y if [ $? -eq 0 ]; then display_alert "Writing succeeded" "${version}.img" "info" else diff --git a/lib/general.sh b/lib/general.sh index 8de1a35235..65bf4d4246 100644 --- a/lib/general.sh +++ b/lib/general.sh @@ -747,8 +747,8 @@ download_toolchain() download_etcher_cli() { - local url="https://github.com/resin-io/etcher/releases/download/v1.4.5/etcher-cli-1.4.5-linux-x64.tar.gz" - local hash="f7f3d63c29f5bf0b494c68efd6cc990e2e571c5f1833ed1c6f773f0f3681eb56" + local url="https://github.com/balena-io/etcher/releases/download/v1.4.8/balena-etcher-cli-1.4.8-linux-x64.tar.gz" + local hash="9befa06b68bb5846bcf5a9516785d48d6aaa9364d80a5802deb5b6a968bf5404" local filename=${url##*/} local dirname=${filename/.tar.gz/-dist}