[oe] udev static

Koen Kooi k.kooi at student.utwente.nl
Thu May 13 10:18:51 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13-05-10 12:03, Raffaele Recalcati wrote:
> Using udev 141 in nfs I had frequently a very long delay after the message
> "Starting udev".
> If I do a ctrl-c the system goes on.
> But sometimes there are some devices lacking, obviously.
> 
> So I look inside udev and I saw many udev rules in /etc/udev/rules.d
> directory.
> 
> I know that Angstrom is focused for a general purpose usage, but in my
> embedded case I don't need it and I prefer a quick boot with fix devices
> create.

It boots a lot quicker when not using NFS :)

> What I'll need is to trigger automount of usb serial, SD card, usb pen, and
> similar things.
> So I have modified udev to populate, similarly to udev-static-devices.bb,
> the /dev directory mounted.
> I also notice the DEVCACHE functionality, that it seems a little bit
> dangerouse in my case.
> My idea is to create a new recipe, named udev-static, in which I'll use
> udev-static-device and than I'll put only some rule as example using RUN
> udev function.
> 
> It is a good idea?

I think it would be better to move all the udev rules to subpackages and
RRECOMMEND then for the main udev package. That way you use
BAD_RECOMMENDATIONS to exclude them at image time.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFL69ILMkyGM64RGpERAhrbAJ924Rtf+5KzZ4Q26x9nVfC7BGqnwQCfdvEo
SQLyPqeELJtaijaPhV/eteA=
=Q8W1
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list