aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitus Jensen <vjensen@gmx.de>2010-04-16 06:52:29 +0000
committerEric Bénard <eric@eukrea.com>2010-11-06 22:52:48 +0100
commit6704324e2da42f666c8fdc654a3624a8ac536465 (patch)
treea17b41ed5e315cb33216a8a9c5ab7d933737d01c
parent1222591ed2f8950047ba18cdd0fb3d81ea875178 (diff)
downloadopenembedded-6704324e2da42f666c8fdc654a3624a8ac536465.zip
openembedded-6704324e2da42f666c8fdc654a3624a8ac536465.tar.gz
openembedded-6704324e2da42f666c8fdc654a3624a8ac536465.tar.bz2
base-files: tb5200l specific changes
* create /opt directory * fstab which mounts / and /opt from jffs2 filesystem on mtd * link /tmp to /var/tmp * issue and issue.net EB: removed /opt in base files following NAK concerning this point. Signed-off-by: Vitus Jensen <vjensen@gmx.de> Acked-by: Marco Cavallini <m.cavallini@koansoftware.com> Signed-off-by: Eric Bénard <eric@eukrea.com>
-rw-r--r--recipes/base-files/base-files/tb5200l/fstab10
-rw-r--r--recipes/base-files/base-files/tb5200l/issue2
-rw-r--r--recipes/base-files/base-files/tb5200l/issue.net3
-rw-r--r--recipes/base-files/base-files_3.0.14.bb6
4 files changed, 21 insertions, 0 deletions
diff --git a/recipes/base-files/base-files/tb5200l/fstab b/recipes/base-files/base-files/tb5200l/fstab
new file mode 100644
index 0000000..f2827c5
--- /dev/null
+++ b/recipes/base-files/base-files/tb5200l/fstab
@@ -0,0 +1,10 @@
+# tb5200l filesystem, mount / read-only, mount /opt read-write
+
+rootfs / jffs2 defaults 1 1
+#/dev/mtdblock4 /opt jffs2 defaults 0 0
+proc /proc proc 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
diff --git a/recipes/base-files/base-files/tb5200l/issue b/recipes/base-files/base-files/tb5200l/issue
new file mode 100644
index 0000000..5f4ee1f
--- /dev/null
+++ b/recipes/base-files/base-files/tb5200l/issue
@@ -0,0 +1,2 @@
+Cameron Linux \n \l
+
diff --git a/recipes/base-files/base-files/tb5200l/issue.net b/recipes/base-files/base-files/tb5200l/issue.net
new file mode 100644
index 0000000..b5cefd4
--- /dev/null
+++ b/recipes/base-files/base-files/tb5200l/issue.net
@@ -0,0 +1,3 @@
+Cameron Linux %h
+
+
diff --git a/recipes/base-files/base-files_3.0.14.bb b/recipes/base-files/base-files_3.0.14.bb
index 7cdd169..2d6d926 100644
--- a/recipes/base-files/base-files_3.0.14.bb
+++ b/recipes/base-files/base-files_3.0.14.bb
@@ -160,6 +160,12 @@ do_install_append_netbook-pro () {
mkdir -p ${D}/initrd
}
+do_install_append_tb5200l() {
+ rmdir ${D}/tmp
+ ln -s var/tmp ${D}/tmp
+}
+
+
PACKAGES = "${PN}-dbg ${PN}-doc ${PN}"
FILES_${PN} = "/*"
FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses"