Patchwork [meta-oe] udev: default disabling DEVCACHE

login
register
mail settings
Submitter Andrea Adami
Date Jan. 25, 2012, 12:05 a.m.
Message ID <1327449958-9778-2-git-send-email-andrea.adami@gmail.com>
Download mbox | patch
Permalink /patch/20103/
State Superseded, archived
Headers show

Comments

Andrea Adami - Jan. 25, 2012, 12:05 a.m.
* This deprecated mechanism can break boot when root is RO on boot,
* probably does not cope well with sysvinit initscripts.
* Ininfluent when using systemd.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
 meta-oe/recipes-core/udev/udev/default |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Khem Raj - Jan. 25, 2012, 1:44 a.m.
On Tue, Jan 24, 2012 at 4:05 PM, Andrea Adami <andrea.adami@gmail.com> wrote:
> * Ininfluent when using systemd.

Did you mean inefficient ?
Andrea Adami - Jan. 25, 2012, 12:06 p.m.
On Wed, Jan 25, 2012 at 2:44 AM, Khem Raj <raj.khem@gmail.com> wrote:
> On Tue, Jan 24, 2012 at 4:05 PM, Andrea Adami <andrea.adami@gmail.com> wrote:
>> * Ininfluent when using systemd.
>
> Did you mean inefficient ?
>

No, I meant this patch has any effect when using systemd since commit
5c3ba556836252a0ca4179173cad3c85c15bde77

udev 171: disable cache on systemd setups

....

# disable udev-cache sysv script on systemd installs
	ln -sf /dev/null ${D}/${base_libdir}/systemd/system/udev-cache.service


....

So it looks to me this only (badly) affects images using sysvinit.

Regards

Andrea

> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-core/udev/udev/default b/meta-oe/recipes-core/udev/udev/default
index 5c4937a..d0050b8 100644
--- a/meta-oe/recipes-core/udev/udev/default
+++ b/meta-oe/recipes-core/udev/udev/default
@@ -1,4 +1,4 @@ 
 # Default for /etc/init.d/udev
 
 # Comment this out to disable device cache
-DEVCACHE="/etc/dev.tar"
+#DEVCACHE="/etc/dev.tar"