[oe-commits] Denis 'GNUtoo' Carikli : base-files: update om-gta02's fstab and bump PR

git version control git at git.openembedded.org
Tue Feb 22 01:33:23 UTC 2011


Module: openembedded.git
Branch: trini/simplify-target-flags
Commit: 92f586853ec9e65c75d149b2fda7c8909a4dfc78
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=92f586853ec9e65c75d149b2fda7c8909a4dfc78

Author: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Date:   Sat Feb 19 22:10:33 2011 +0100

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 <elisa42>	its mounteted by mountdevsubfs.sh
 * usbfs mount point is absent(/proc/bus/usb doesn't exist on target)

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>

---

 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 c83b2b1..91b2b86 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 302f68d..acd12a4 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 = " \





More information about the Openembedded-commits mailing list