aboutsummaryrefslogtreecommitdiffstats
path: root/meta-toradex-extras
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@theqtcompany.com>2014-12-05 11:56:41 +0200
committerSamuli Piippo <samuli.piippo@theqtcompany.com>2014-12-05 13:07:11 +0200
commitd15c83b992a2024fba29fef41e5349211e463f4d (patch)
tree350ccf5188d1283d836d72d2888e1fc9bf570174 /meta-toradex-extras
parent8d2baa934934f09cbd0f1eb61d36ea40b80a402c (diff)
Use tmpfs for /var/run in toradex devicesv4.0.0
Default fstab for toradex devices was not using tmpfs for /var/run, so some daemons did to handle hard reset nicely. Networking and udev were failing at least. Using 'b2qt' folder name for the fstab file, so that bitbake uses that instead of the files from meta-toradex. Task-number: QTEE-857 Change-Id: Id93b127b2b7c02bec11818c4c1b7357bfe65ecbf Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'meta-toradex-extras')
-rw-r--r--meta-toradex-extras/recipes/base-files/base-files/b2qt/fstab15
-rw-r--r--meta-toradex-extras/recipes/base-files/base-files_3.0.14.bbappend23
2 files changed, 38 insertions, 0 deletions
diff --git a/meta-toradex-extras/recipes/base-files/base-files/b2qt/fstab b/meta-toradex-extras/recipes/base-files/base-files/b2qt/fstab
new file mode 100644
index 00000000..e61e3b0a
--- /dev/null
+++ b/meta-toradex-extras/recipes/base-files/base-files/b2qt/fstab
@@ -0,0 +1,15 @@
+# stock fstab - you probably want to override this with a machine specific one
+
+/dev/root / auto defaults 1 1
+proc /proc proc defaults 0 0
+debugfs /sys/kernel/debug debugfs 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 /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0
+tmpfs /dev/shm tmpfs mode=0777 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/meta-toradex-extras/recipes/base-files/base-files_3.0.14.bbappend b/meta-toradex-extras/recipes/base-files/base-files_3.0.14.bbappend
new file mode 100644
index 00000000..bdb9cdd0
--- /dev/null
+++ b/meta-toradex-extras/recipes/base-files/base-files_3.0.14.bbappend
@@ -0,0 +1,23 @@
+#############################################################################
+##
+## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+##
+## This file is part of the Qt Enterprise Embedded Scripts of the Qt
+## framework.
+##
+## $QT_BEGIN_LICENSE$
+## Commercial License Usage Only
+## Licensees holding valid commercial Qt license agreements with Digia
+## with an appropriate addendum covering the Qt Enterprise Embedded Scripts,
+## may use this file in accordance with the terms contained in said license
+## agreement.
+##
+## For further information use the contact form at
+## http://www.qt.io/contact-us.
+##
+##
+## $QT_END_LICENSE$
+##
+#############################################################################
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"