base-files: add tmpfs to stock fstab
authorMichael Lauer <mickey@vanille-media.de>
Thu, 25 May 2006 21:57:57 +0000 (21:57 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 25 May 2006 21:57:57 +0000 (21:57 +0000)
packages/base-files/base-files/fstab
packages/base-files/base-files/simpad/fstab
packages/base-files/base-files_3.0.14.bb

index bf8f8a8..8bfb087 100644 (file)
@@ -1,4 +1,12 @@
-rootfs               /                    auto       defaults              1 1
-proc                 /proc                proc       defaults              0 0
-devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
-usbdevfs             /proc/bus/usb        usbdevfs   noauto                0 0
+# stock fstab - you probably want to override this with a machine specific one
+
+rootfs               /                    auto       defaults              1  1
+proc                 /proc                proc       defaults              0  0
+devpts               /dev/pts             devpts     mode=0620,gid=5       0  0
+usbdevfs             /proc/bus/usb        usbdevfs   noauto                0  0
+tmpfs                /var                 tmpfs      defaults              0  0
+tmpfs                /media/ram           tmpfs      defaults              0  0
+
+# uncomment this if your device has a SD/MMC/Transflash slot
+#/dev/mmcblk0p1       /media/card          auto       defaults,sync,noauto  0  0
+
index 99b8771..51aaaf9 100644 (file)
@@ -3,5 +3,6 @@ proc                 /proc                proc       defaults              0 0
 devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
 usbdevfs             /proc/bus/usb        usbdevfs   noauto                0 0
 tmpfs               /var                 tmpfs      defaults              0 0
+tmpfs                /media/ram           tmpfs      defaults              0 0
 /dev/mtdblock/2             /home                jffs2      defaults              1 1
-/dev/hda1           /mnt/cf              auto       noauto,owner          0 0
+/dev/hda1           /media/cf            auto       noauto,owner          0 0
index cbf0cc7..866c016 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Miscellaneous files for the base system."
 SECTION = "base"
 PRIORITY = "required"
-PR = "r50"
+PR = "r51"
 LICENSE = "GPL"
 
 SRC_URI = " \
@@ -45,12 +45,13 @@ conffiles = "${sysconfdir}/debian_version ${sysconfdir}/host.conf \
             ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile \
             ${sysconfdir}/default"
 
+#
+# set standard hostname, might be a candidate for a DISTRO variable? :M:
+#
 hostname = "openembedded"
 hostname_slugos = "nslu2"
 hostname_mnci = "MNCI"
-PACKAGE_ARCH_mnci = "mnci"
 hostname_rt3000 = "MNRT"
-PACKAGE_ARCH_rt3000 = "rt3000"
 
 do_install () {
        for d in ${dirs755}; do
@@ -133,8 +134,11 @@ PACKAGES = "${PN}-doc ${PN}"
 FILES_${PN} = "/"
 FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses"
 
+# M&N specific packaging
+PACKAGE_ARCH_mnci = "mnci"
+PACKAGE_ARCH_rt3000 = "rt3000"
 
-# Unslung distribution specific packages follow ...
+# Unslung distribution specific packaging
 
 PACKAGES_unslung = "${PN}-unslung"
 PACKAGE_ARCH_${PN}-unslung = "nslu2"