Skip to contentSkip to conversation

udev: udev_run is /run, not /var/run (since ea647cd9 2013-05-26)

PATCH In review Jens Rehsack 2 participants 2 messages Feb 28, 2016 – Mar 7, 2016

lore
Share & tools
lore
#0 lore raw

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

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.

---
 meta/recipes-core/udev/udev.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/udev/udev.inc +1 -1
index df41f11..d49a50c 100644
@@ -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 - [email protected]

#1 lore raw

meta/recipes-core/udev/udev.inc do_install_append () { · line 105

Quoted 3 lines · Jens Rehsack
meta/recipes-core/udev/udev.inc +1 -1
-       echo 'udev_run="/var/run/udev"' >> ${D}${sysconfdir}/udev/udev.conf
+       echo 'udev_run="/run/udev"' >> ${D}${sysconfdir}/udev/udev.conf

oe-core has eudev now so this would need rebasing, but I can't see any mention of udev_run in the eudev sources and in udev 182 /run/udev was the default so I'll send a patch to just delete this line.

Ross