summaryrefslogtreecommitdiff
path: root/packages/base-files
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-05-25 21:57:57 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-25 21:57:57 +0000
commit04985b82fd2a1de2a73957e8c31eb2752c7dbb39 (patch)
treeb31a913e7bb6ab7dd9b59b892c660e5da0849f6d /packages/base-files
parent321981ba96a07994437a2888598519b61fb4fc39 (diff)
base-files: add tmpfs to stock fstab
Diffstat (limited to 'packages/base-files')
-rw-r--r--packages/base-files/base-files/fstab16
-rw-r--r--packages/base-files/base-files/simpad/fstab3
-rw-r--r--packages/base-files/base-files_3.0.14.bb12
3 files changed, 22 insertions, 9 deletions
diff --git a/packages/base-files/base-files/fstab b/packages/base-files/base-files/fstab
index bf8f8a87e5..8bfb08720f 100644
--- a/packages/base-files/base-files/fstab
+++ b/packages/base-files/base-files/fstab
@@ -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
+
diff --git a/packages/base-files/base-files/simpad/fstab b/packages/base-files/base-files/simpad/fstab
index 99b87714e5..51aaaf9256 100644
--- a/packages/base-files/base-files/simpad/fstab
+++ b/packages/base-files/base-files/simpad/fstab
@@ -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
diff --git a/packages/base-files/base-files_3.0.14.bb b/packages/base-files/base-files_3.0.14.bb
index cbf0cc772a..866c016965 100644
--- a/packages/base-files/base-files_3.0.14.bb
+++ b/packages/base-files/base-files_3.0.14.bb
@@ -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"