From d15c83b992a2024fba29fef41e5349211e463f4d Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Fri, 5 Dec 2014 11:56:41 +0200 Subject: Use tmpfs for /var/run in toradex devices 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 --- .../recipes/base-files/base-files/b2qt/fstab | 15 ++++++++++++++ .../recipes/base-files/base-files_3.0.14.bbappend | 23 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 meta-toradex-extras/recipes/base-files/base-files/b2qt/fstab create mode 100644 meta-toradex-extras/recipes/base-files/base-files_3.0.14.bbappend 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}:" -- cgit v1.2.3