On Thu, 22 Apr 2010 12:55:43 +0100
Phil Blundell <ph...@gnu.org> wrote:

> On Thu, 2010-04-22 at 13:43 +0200, Antonio Ospite wrote:
> >  2. If I install any package which depends on udev then udev is brought
> >     in and the static layout is gone at the next boot.
> 
> I think your best option is probably to make udev be a DISTRO_FEATURE
> and not set it for your own distribution.
> 
> If you genuinely want udev to be selected (for your particular DISTRO)
> on a per-MACHINE basis then you'll have to invent some way to nobble its
> startup script so that it just doesn't do anything on machines where it
> isn't wanted.
>

A per-MACHINE way would be better IMHO, I am thinking about
adding a check on something like /dev/.staticdev (suggested in [1]) to
both udev init script and to the 'device' script from initscripts, and
make the image class add the /dev/.staticdev file when
IMAGE_DEV_MANAGER == "" (or maybe == "static" or "none"?)

Does this sound reasonable?

Thanks,
   Antonio

[1] http://bugs.openembedded.org/show_bug.cgi?id=3593

-- 
Antonio Ospite
http://ao2.it

PGP public key ID: 0x4553B001

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Attachment: pgpIOAPTV8fYE.pgp
Description: PGP signature

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

Reply via email to