stupid hack around output not displaying on the screen

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-01-20 23:40:02 -08:00
parent bc64b621cc
commit 47af1e4ac3
3 changed files with 39 additions and 16 deletions

View File

@ -19,3 +19,7 @@ install-onto-sdcard:
rsync -av --progress /home/pinebook/factory/community-builds/Armbian_5.69_Pinebook-a64_Ubuntu_bionic_next_4.19.13_desktop.img /mnt/sdcard-image/emmc.img
umount /mnt/sdcard-image/
sync
rc-local:
cp -a rc.local /media/jcarr/root/etc/rc.local
cp -a rc.root.local /media/jcarr/root/root/rc.local

View File

@ -1,18 +1,3 @@
#!/bin/bash -x
# mount /home/internal-mmc
echo
echo
echo STARTING PINEBOOK IMAGING IN 5 SECONDS
echo STARTING PINEBOOK IMAGING IN 5 SECONDS
echo STARTING PINEBOOK IMAGING IN 5 SECONDS
echo STARTING PINEBOOK IMAGING IN 5 SECONDS
echo STARTING PINEBOOK IMAGING IN 5 SECONDS
echo
echo CONTROL-C TO STOP
echo
sleep 10
mount /dev/mmcblk0p2 /home/factory
/root/rc.local &>/dev/tty0

View File

@ -0,0 +1,34 @@
#!/bin/bash -x
# mount /home/internal-mmc
echo
echo
echo STARTING PINEBOOK IMAGING IN 5 SECONDS
echo STARTING PINEBOOK IMAGING IN 5 SECONDS
echo STARTING PINEBOOK IMAGING IN 5 SECONDS
echo STARTING PINEBOOK IMAGING IN 5 SECONDS
echo STARTING PINEBOOK IMAGING IN 5 SECONDS
echo
echo CONTROL-C TO STOP
echo
sleep 10
echo mount /dev/mmcblk0p2 /home/factory
mount /dev/mmcblk0p2 /home/factory
echo dd if=/home/factory/emmc.img of=/dev/mmcblk2
dd if=/home/factory/emmc.img of=/dev/mmcblk2
echo sync
sync
echo
echo
echo INSTALL SUCCEEDED
echo INSTALL SUCCEEDED
echo INSTALL SUCCEEDED
echo INSTALL SUCCEEDED
echo
echo