aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/udev/udev_154.bb
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2011-02-12 03:35:31 +0000
committerDenys Dmytriyenko <denys@ti.com>2011-02-11 15:55:38 -0500
commitf4476372697c27b9ccaa2b9aae4687c78600e6c0 (patch)
treee13b016d323a5f820c581a6527a7de18ad85c96b /recipes/udev/udev_154.bb
parent81e0297498440bce367a540dffb38335a328fbf1 (diff)
downloadopenembedded-f4476372697c27b9ccaa2b9aae4687c78600e6c0.tar.gz
openembedded-f4476372697c27b9ccaa2b9aae4687c78600e6c0.tar.bz2
openembedded-f4476372697c27b9ccaa2b9aae4687c78600e6c0.zip
udev: also use /proc/devices to invalidate devcache
* Besides checking for kernel version, bootargs or cmdline changes between reboots, also consider changes in /proc/devices to invalidate device cache. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Acked-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes/udev/udev_154.bb')
-rw-r--r--recipes/udev/udev_154.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/udev/udev_154.bb b/recipes/udev/udev_154.bb
index 4a358d3753..44d7b134df 100644
--- a/recipes/udev/udev_154.bb
+++ b/recipes/udev/udev_154.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
the hotplug package and requires a kernel not older than 2.6.12."
LICENSE = "GPLv2+"
-PR = "r7"
+PR = "r8"
# Untested
DEFAULT_PREFERENCE = "-1"
@@ -128,6 +128,7 @@ do_install () {
touch ${D}${sysconfdir}/udev/saved.uname
touch ${D}${sysconfdir}/udev/saved.cmdline
+ touch ${D}${sysconfdir}/udev/saved.devices
touch ${D}${sysconfdir}/udev/saved.atags
install -d ${D}${sysconfdir}/udev/scripts/