Skip to content

Commit

Permalink
allow bela_flash_emmc.service to be used on non-emmc_flasher images
Browse files Browse the repository at this point in the history
  • Loading branch information
LBDonovan committed Oct 30, 2017
1 parent 549ef1f commit 9ae9eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/rootfs/opt/Bela/bela_flash_emmc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ cp -a /bin/ /boot/ /dev/ /etc/ /home/ /lib/ /opt/ /root/ /sbin/ /srv/ /usr/ /var
mkdir -p /mnt/root/media /mnt/root/mnt /mnt/root/proc /mnt/root/run/ /mnt/root/sys /mnt/root/tmp
cp -a /opt/Bela/fstab-emmc /mnt/root/etc/fstab
echo "/dev/mmcblk1" > /mnt/root/opt/Bela/rootfs_dev
rm /mnt/root/etc/systemd/system/default.target.wants/bela_flash_emmc.service
rm /mnt/root/etc/systemd/system/default.target.wants/bela_flash_emmc.service || true
sync

umount /mnt/emmc_boot
Expand Down

0 comments on commit 9ae9eed

Please sign in to comment.