stupid hack around output not displaying on the screen
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
bc64b621cc
commit
47af1e4ac3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue