[oe] [meta-handheld][PATCH 2/3] udev: add bbappend and disable device cache as default.

Andrea Adami andrea.adami at gmail.com
Sun Oct 16 23:26:50 UTC 2011


* For some reasons when the cache is created root can still be ro
* and as solution you would be obliged to add 'rw' to your commandline.
* There are patches in openembedded-classic to correct this
* (and those are still pending for meta-oe).
* Until a solution is found disable the creation of the device cache on boot.

Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
---
 recipes-core/udev/udev/default      |    4 ++++
 recipes-core/udev/udev_173.bbappend |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)
 create mode 100644 recipes-core/udev/udev/default
 create mode 100644 recipes-core/udev/udev_173.bbappend

diff --git a/recipes-core/udev/udev/default b/recipes-core/udev/udev/default
new file mode 100644
index 0000000..ba2867e
--- /dev/null
+++ b/recipes-core/udev/udev/default
@@ -0,0 +1,4 @@
+# Default for /etc/init.d/udev
+
+# Uncomment this out to enable device cache
+#DEVCACHE="/etc/dev.tar"
diff --git a/recipes-core/udev/udev_173.bbappend b/recipes-core/udev/udev_173.bbappend
new file mode 100644
index 0000000..72d991c
--- /dev/null
+++ b/recipes-core/udev/udev_173.bbappend
@@ -0,0 +1 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-- 
1.7.3.4





More information about the Openembedded-devel mailing list