summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Blundell <philb@brightsign.biz>2011-06-10 16:31:35 +0100
committerPhil Blundell <philb@brightsign.biz>2011-06-10 16:31:48 +0100
commitdfb2684cef60988ad1136e5c3953bc8efe7cc334 (patch)
tree7c12253f0e72e3e172dd09f5166ce8ebe4326c43
parentebea1ead476773a34752ad43237eeda0c90352cc (diff)
downloadmeta-micro-dfb2684cef60988ad1136e5c3953bc8efe7cc334.tar.gz
meta-micro-dfb2684cef60988ad1136e5c3953bc8efe7cc334.tar.bz2
meta-micro-dfb2684cef60988ad1136e5c3953bc8efe7cc334.zip
base-files: add fstab
-rw-r--r--recipes/base-files/base-files/fstab9
-rw-r--r--recipes/base-files/base-files_3.0.14.bb18
2 files changed, 19 insertions, 8 deletions
diff --git a/recipes/base-files/base-files/fstab b/recipes/base-files/base-files/fstab
new file mode 100644
index 0000000..968230e
--- /dev/null
+++ b/recipes/base-files/base-files/fstab
@@ -0,0 +1,9 @@
+rootfs / auto defaults 1 1
+proc /proc proc defaults 0 0
+devtmpfs /dev devtmpfs defaults 0 0
+devpts /dev/pts devpts mode=0620,gid=5 0 0
+usbfs /proc/bus/usb usbfs 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
+sysfs /sys sysfs 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 10538d2..bc2dfcc 100644
--- a/recipes/base-files/base-files_3.0.14.bb
+++ b/recipes/base-files/base-files_3.0.14.bb
@@ -1,12 +1,13 @@
DESCRIPTION = "Miscellaneous files for the base system."
SECTION = "base"
PRIORITY = "required"
-PR = "r102"
+PR = "r104"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://licenses/GPL-2;md5=94d55d512a9ba36caa9b7df079bae19f"
SRC_URI = " \
+ file://fstab \
file://nsswitch.conf \
file://licenses/BSD \
file://licenses/GPL-2 \
@@ -33,23 +34,24 @@ hostname = "oe-micro"
do_install () {
for d in ${dirs755}; do
- install -m 0755 -d ${D}$d
+ install -m 0755 -d "${D}$d"
done
for d in ${dirs1777}; do
- install -m 1777 -d ${D}$d
+ install -m 1777 -d "${D}$d"
done
for d in ${dirs2775}; do
- install -m 2755 -d ${D}$d
+ install -m 2755 -d "${D}$d"
done
for d in ${volatiles}; do
- if [ -d ${D}${localstatedir}/volatile/$d ]; then
- ln -sf volatile/$d ${D}/${localstatedir}/$d
+ if [ -d "${D}${localstatedir}/volatile/$d" ]; then
+ ln -sf volatile/$d "${D}/${localstatedir}/$d"
fi
done
- echo ${hostname} > ${D}${sysconfdir}/hostname
+ echo ${hostname} > "${D}${sysconfdir}/hostname"
- install -m 0644 ${WORKDIR}/nsswitch.conf ${D}${sysconfdir}/nsswitch.conf
+ install -m 0644 "${WORKDIR}/fstab" "${D}${sysconfdir}/fstab"
+ install -m 0644 "${WORKDIR}/nsswitch.conf" "${D}${sysconfdir}/nsswitch.conf"
}
PACKAGES = "${PN}-dbg ${PN}-doc ${PN}"