summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-05-26 21:13:06 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-29 22:07:57 +0100
commitcd19f768cfe41fd40748230bff59c16fbaedaae6 (patch)
treea10af726baec8e5ba9534c9f71b8339300da3ee5
parent90b4d3d06dc60966cf529cc22425a36349a578d1 (diff)
downloadpoky-cd19f768cfe41fd40748230bff59c16fbaedaae6.tar.gz
udev: do not create symbolic link from /run to /var/run
The /run directory is now a tmpfs with /var/run as a symbolic link pointing to /run. (From OE-Core rev: 691593177aa78a56ce138f1041872bebca2aa056) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/udev/udev.inc6
-rw-r--r--meta/recipes-core/udev/udev/volatiles1
2 files changed, 1 insertions, 6 deletions
diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index 769d861b13..92485f5429 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -26,8 +26,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
26 file://local.rules \ 26 file://local.rules \
27 file://udev-cache \ 27 file://udev-cache \
28 file://udev-cache.default \ 28 file://udev-cache.default \
29 file://init \ 29 file://init"
30 file://volatiles"
31 30
32inherit autotools pkgconfig update-rc.d 31inherit autotools pkgconfig update-rc.d
33 32
@@ -85,9 +84,6 @@ do_install_append () {
85 install -d ${D}${sysconfdir}/default 84 install -d ${D}${sysconfdir}/default
86 install -m 0755 ${WORKDIR}/udev-cache.default ${D}${sysconfdir}/default/udev-cache 85 install -m 0755 ${WORKDIR}/udev-cache.default ${D}${sysconfdir}/default/udev-cache
87 86
88 install -d ${D}${sysconfdir}/default/volatiles
89 install -m 0644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/00_udev
90
91 touch ${D}${sysconfdir}/udev/cache.data 87 touch ${D}${sysconfdir}/udev/cache.data
92 88
93 install -d ${D}${sysconfdir}/udev/rules.d/ 89 install -d ${D}${sysconfdir}/udev/rules.d/
diff --git a/meta/recipes-core/udev/udev/volatiles b/meta/recipes-core/udev/udev/volatiles
deleted file mode 100644
index e33561bf06..0000000000
--- a/meta/recipes-core/udev/udev/volatiles
+++ /dev/null
@@ -1 +0,0 @@
1l root root 0755 /run /var/run