Skip to contentSkip to conversation

udev: Add RRECOMMENDS for udev-cache to enable the cache

PATCH In review Saul Wold 3 participants 3 messages Jul 1, 2013 – Jul 2, 2013

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 udev: Add RRECOMMENDS for udev-cache to enable the cache

This will enable the udev cache for sysvinit systems, which does improve post-first boots.

---
 meta/recipes-core/udev/udev.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/udev/udev.inc +1 -1
index d30f7de..6606707 100644
@@ -54,7 +54,7 @@ INITSCRIPT_NAME_udev-cache = "udev-cache"
 INITSCRIPT_PARAMS_udev-cache = "start 36 S ."
 
 FILES_${PN} += "${libexecdir} ${libdir}/ConsoleKit ${nonarch_base_libdir}/udev"
-RRECOMMENDS_${PN} += "udev-utils"
+RRECOMMENDS_${PN} += "udev-utils udev-cache"
 
 FILES_${PN}-dbg += "${libexecdir}/.debug"
 FILES_${PN}-dbg += "${base_libdir}/udev/.debug/"
Signature · 1 line
1.8.1.4
#1 lore raw

Op 1 jul. 2013, om 20:58 heeft Saul Wold <[email protected]> het volgende geschreven:

Quoted 2 lines

This will enable the udev cache for sysvinit systems, which does improve post-first boots.

But will it stay disabled for non-sysv init systems?

#2 lore raw
Quoted 5 lines · Koen Kooi

Op 1 jul. 2013, om 20:58 heeft Saul Wold <[email protected]> het volgende geschreven:

Quoted 2 lines

This will enable the udev cache for sysvinit systems, which does improve post-first boots.

But will it stay disabled for non-sysv init systems?

I think so. After all, it's not recommended in systemd.
For systemd init systems, there's really no reason to enable udev-cache, from my point of view.

Best Regards,
Chen Qi

Quoted 6 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core