diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/boot/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/boot/.empty new file mode 100644 index 0000000..e69de29 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/fstab b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/fstab index 380b9cb..e6a3544 100644 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/fstab +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/fstab @@ -7,5 +7,6 @@ tmpfs /tmp tmpfs mode=1777 0 0 tmpfs /run tmpfs mode=0755,nosuid,nodev 0 0 sysfs /sys sysfs defaults 0 0 -#/dev/mmcblk3p1 /boot0 ext4 defaults 0 0 -#/dev/mmcblk3p2 /app ext4 defaults 0 0 +/dev/mmcblk3p1 /boot ext4 defaults 0 0 +/dev/mmcblk3p3 /falinux ext4 defaults 0 0 +/dev/mmcblk3p4 /prime ext4 defaults 0 0 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/mdev.conf b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/mdev.conf index c84df48..24b0493 100755 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/mdev.conf +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/mdev.conf @@ -1,5 +1,4 @@ mmcblk[0-2]p[0-9] 0:0 0660 */etc/mdev/automount.sh $MDEV /mnt/${MDEV} -mmcblk3p[2-9] 0:0 0660 */etc/mdev/automount.sh $MDEV /mnt/${MDEV} mmcblk[4-9]p[0-9] 0:0 0660 */etc/mdev/automount.sh $MDEV /mnt/${MDEV} sd[a-z][0-9] 0:0 0600 */etc/mdev/automount.sh $MDEV /mnt/${MDEV} ub[a-z][0-9] 0:0 0600 */etc/mdev/automount.sh $MDEV /mnt/${MDEV} diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/mdev/automount.sh b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/mdev/automount.sh index bd8d6dd..6c50701 100755 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/mdev/automount.sh +++ b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/etc/mdev/automount.sh @@ -15,13 +15,14 @@ if [ "$mounted" = "" ]; then echo "Mount : $1 -> $MNTPATH" > $LOGPATH mkdir -p $MNTPATH - if [ $1 == "mmcblk3p2" ]; then - mount -v -t ext4 /dev/$1 $MNTPATH - else - mount -v -t ext4 /dev/$1 $MNTPATH - fi + mount /dev/$1 $MNTPATH wait echo "Done : mount $MNTPATH" > $LOGPATH + if [ -f $MNTPATH/prime/run.sh ] + then + echo "Execute $MNTPATH/prime/run.sh" > $LOGPATH + sh $MNTPATH/prime/run.sh & + fi else echo "Umount: $MNTPATH" > $LOGPATH diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/falinux b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/falinux deleted file mode 120000 index 73a68be..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/falinux +++ /dev/null @@ -1 +0,0 @@ -/mnt/mmcblk3p3 \ No newline at end of file diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/falinux/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/falinux/.empty new file mode 100644 index 0000000..e69de29 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/prime b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/prime deleted file mode 120000 index d97d682..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/prime +++ /dev/null @@ -1 +0,0 @@ -/mnt/mmcblk3p4 \ No newline at end of file diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/prime/.empty b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/prime/.empty new file mode 100644 index 0000000..e69de29 diff --git a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/system b/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/system deleted file mode 120000 index 669f62a..0000000 --- a/buildroot/buildroot-2016.08.1/board/falinux/prime_oven/rootfs_overlay/system +++ /dev/null @@ -1 +0,0 @@ -/mnt/mmcblk3p2 \ No newline at end of file