pinebook-tests/run.sh

26 lines
492 B
Bash
Raw Permalink Normal View History

2019-04-05 16:09:41 -05:00
#!/bin/bash -x
2019-04-05 16:33:59 -05:00
dialog --ascii-lines --pause "Starting Image Flashing" 10 70 5
2019-04-05 16:09:41 -05:00
echo mount /dev/mmcblk0p2 /home/factory
mount /dev/mmcblk0p2 /home/factory
#exit
echo dd if=/home/factory/emmc.img.armbian of=/dev/mmcblk2
dd if=/home/factory/emmc.img.armbian of=/dev/mmcblk2 bs=16M status=progress
echo sync
sync
2019-04-05 16:33:59 -05:00
dialog --ascii-lines --msgbox "Flash Image Completed!" 10 70
2019-04-05 16:29:46 -05:00
2019-04-05 16:09:41 -05:00
echo
echo
echo INSTALL SUCCEEDED
echo INSTALL SUCCEEDED
echo INSTALL SUCCEEDED
echo INSTALL SUCCEEDED
echo
echo