From 92f586853ec9e65c75d149b2fda7c8909a4dfc78 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sat, 19 Feb 2011 22:10:33 +0100 Subject: [PATCH] base-files: update om-gta02's fstab and bump PR The update is based on the default fstab, it fixes a long standing bug where the rootfs was hardcoded to /dev/mtdblock6 with the jffs2 filesystem. The om-gta02 machine can boot from microsd or from mtd(jffs2 or ubifs), so not hardcoding the defult rootfs is good. Note that some lines were not imported from the default fstab: * The devpts mount point is mounted by /etc/init.d/mountdevsubfs.sh: From #openmoko-cdevel on Freenode on irc: Feb 19 18:20:22 its mounteted by mountdevsubfs.sh * usbfs mount point is absent(/proc/bus/usb doesn't exist on target) Signed-off-by: Denis 'GNUtoo' Carikli --- recipes/base-files/base-files/om-gta02/fstab | 14 ++++++-------- recipes/base-files/base-files_3.0.14.bb | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/recipes/base-files/base-files/om-gta02/fstab b/recipes/base-files/base-files/om-gta02/fstab index c83b2b1214..91b2b86080 100644 --- a/recipes/base-files/base-files/om-gta02/fstab +++ b/recipes/base-files/base-files/om-gta02/fstab @@ -1,10 +1,8 @@ -/dev/mtdblock6 / jffs2 rw,noatime 1 1 -proc /proc proc defaults 0 0 -tmpfs /var/volatile tmpfs defaults 0 0 -tmpfs /dev/shm tmpfs mode=0777 0 0 -tmpfs /media/ram tmpfs defaults 0 0 +rootfs / auto defaults 1 1 +proc /proc proc defaults 0 0 +tmpfs /var/volatile tmpfs defaults 0 0 +tmpfs /dev/shm tmpfs mode=0777 0 0 +tmpfs /media/ram tmpfs defaults 0 0 # microSD slot -/dev/mmcblk0p1 /media/card auto defaults,async 0 0 -# stock fstab - you probably want to override this with a machine specific one - +/dev/mmcblk0p1 /media/card auto defaults 0 0 diff --git a/recipes/base-files/base-files_3.0.14.bb b/recipes/base-files/base-files_3.0.14.bb index 302f68de1f..acd12a422a 100644 --- a/recipes/base-files/base-files_3.0.14.bb +++ b/recipes/base-files/base-files_3.0.14.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Miscellaneous files for the base system." SECTION = "base" PRIORITY = "required" -PR = "r99" +PR = "r100" LICENSE = "GPL" SRC_URI = " \ -- 2.39.5