[oe] About having a static /dev

Antonio Ospite ospite at studenti.unina.it
Thu Apr 22 12:46:38 UTC 2010


On Thu, 22 Apr 2010 12:55:43 +0100
Phil Blundell <philb at 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20100422/d130d957/attachment-0002.sig>


More information about the Openembedded-devel mailing list