[OE-core] [PATCH 4/7] udev: udev_run is /run, not /var/run (since ea647cd9 2013-05-26)

Jens Rehsack rehsack at gmail.com
Sun Feb 28 11:38:00 UTC 2016


The symlink which is placed by base-files in /var is only a workaround for
such problems as long /var is in the same filesystem as /. Fix the problem
by using the right run-path.

Signed-off-by: Jens Rehsack <sno at netbsd.org>
---
 meta/recipes-core/udev/udev.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index df41f11..d49a50c 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -102,7 +102,7 @@ do_install_append () {
 	# hid2hci has moved to bluez4. removed in udev as of version 169
 	rm -f ${D}${base_libdir}/udev/hid2hci

-	echo 'udev_run="/var/run/udev"' >> ${D}${sysconfdir}/udev/udev.conf
+	echo 'udev_run="/run/udev"' >> ${D}${sysconfdir}/udev/udev.conf
 }

 # As systemd also builds udev, skip this package if we're doing a systemd build.
--
2.6.3


--
Jens Rehsack - rehsack at gmail.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160228/7a43f4b0/attachment-0002.sig>


More information about the Openembedded-core mailing list