flash_uboot() { echo "A new U-Boot version can be flashed onto your install drive. Please use lsblk to determine your drive, before proceeding." echo "You can do this by running:" echo "# dd if=/boot/u-boot-sunxi-with-spl-pinebook.bin of=/dev/mmcblkX bs=8k seek=1" } post_install() { flash_uboot } post_upgrade() { flash_uboot }