actually mount the emmc when writing the fs

This commit is contained in:
SolidHal 2018-11-07 15:24:57 -06:00
parent 14d6914b25
commit a47c625df8

View File

@ -35,6 +35,7 @@ then
echo Writing Filesystem, this will take about 4 minutes...
mkfs.ext4 -F -b 1024 -m 0 -O ^has_journal /dev/mmcblk2p2
mkdir -p /mnt/mmc/
mount /dev/mmcblk2p2 /mnt/mmc
rsync -ah --info=progress2 --info=name0 --numeric-ids -x / /mnt/mmc/
#Install a base fstab
echo "/dev/mmcblk2p2 / ext4 defaults,noatime 0 1" > /mnt/mmc/etc/fstab