Patchwork [6/6] udev: do not create symbolic link from /run to /var/run

login
register
mail settings
Submitter Jonathan Liu
Date May 26, 2013, 11:13 a.m.
Message ID <1369566786-20341-7-git-send-email-net147@gmail.com>
Download mbox | patch
Permalink /patch/50541/
State Accepted
Commit 691593177aa78a56ce138f1041872bebca2aa056
Headers show

Comments

Jonathan Liu - May 26, 2013, 11:13 a.m.
The /run directory is now a tmpfs with /var/run as a symbolic link
pointing to /run.

Signed-off-by: Jonathan Liu <net147@gmail.com>
---
 meta/recipes-core/udev/udev.inc       | 6 +-----
 meta/recipes-core/udev/udev/volatiles | 1 -
 2 files changed, 1 insertion(+), 6 deletions(-)
 delete mode 100644 meta/recipes-core/udev/udev/volatiles

Patch

diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index 769d861..92485f5 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 \
            file://local.rules \
            file://udev-cache \
            file://udev-cache.default \
-           file://init \
-           file://volatiles"
+           file://init"
 
 inherit autotools pkgconfig update-rc.d
 
@@ -85,9 +84,6 @@  do_install_append () {
 	install -d ${D}${sysconfdir}/default
 	install -m 0755 ${WORKDIR}/udev-cache.default ${D}${sysconfdir}/default/udev-cache
 
-	install -d ${D}${sysconfdir}/default/volatiles
-	install -m 0644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/00_udev
-
 	touch ${D}${sysconfdir}/udev/cache.data
 
 	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 e33561b..0000000
--- a/meta/recipes-core/udev/udev/volatiles
+++ /dev/null
@@ -1 +0,0 @@ 
-l root root 0755 /run /var/run