#!/usr/bin/env bash
dir="$(cd "$(dirname "${BASH_SOURCE[0]}")"; echo "$PWD")"
PS4=" $ "
echo "NOTE: This script flashes the boot partition only."

(
set -x
fastboot flash --slot=all boot "$dir"/boot.img

)
echo ""
echo "Flashing completed."
echo "The system image needs to be flashed manually to the system partition."
