populate fstab

This commit is contained in:
Gwenhael Le Moine 2016-07-17 17:28:47 +02:00
parent d3a577e924
commit cd7fa2b054

View file

@ -55,6 +55,12 @@ cat <<EOF >> $SD_MOUNT_POINT/etc/rc.d/rc.modprobe.local
/sbin/modprobe 8723bs /sbin/modprobe 8723bs
EOF EOF
cat <<EOF >> $SD_MOUNT_POINT/etc/fstab
/dev/mmcblk0p2 / ext4 defaults,discard 1 1
tmpfs /tmp tmpfs defaults,mode=777 0 0
EOF
umount $SD_MOUNT_POINT/bootenv umount $SD_MOUNT_POINT/bootenv
umount $SD_MOUNT_POINT umount $SD_MOUNT_POINT
sync sync