From cd7fa2b05408cfa40e79c7574c57946cdf21026d Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Sun, 17 Jul 2016 17:28:47 +0200 Subject: [PATCH] populate fstab --- make_usd_card.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/make_usd_card.sh b/make_usd_card.sh index afeece2..e5fd7d4 100755 --- a/make_usd_card.sh +++ b/make_usd_card.sh @@ -55,6 +55,12 @@ cat <> $SD_MOUNT_POINT/etc/rc.d/rc.modprobe.local /sbin/modprobe 8723bs EOF +cat <> $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 sync