All of lore.kernel.org
 help / color / mirror / Atom feed
* Inheriting conditionally
@ 2007-08-07 23:23 Matt Hoosier
  2007-08-08 12:19 ` Richard Purdie
  0 siblings, 1 reply; 7+ messages in thread
From: Matt Hoosier @ 2007-08-07 23:23 UTC (permalink / raw)
  To: openembedded-devel

Hi all,

I'm search for a syntax that will allow me to inherit from certain
classes only when using a particular distribution. Is there some good
way to do this, like maybe:

  python {
    if bb.getVar("DISTRO") == "mydistro"
      # some API call to add inherited class
  }

The particular thing I want to accomplish is to use the update-rc.d
functionality to start a daemon systemwide only when targeting my own
distro; it's nonstandard and wouldn't be appropriate for most
distributions.

Thanks,

Matt



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-08-08 15:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-07 23:23 Inheriting conditionally Matt Hoosier
2007-08-08 12:19 ` Richard Purdie
2007-08-08 13:20   ` Matt Hoosier
2007-08-08 13:58     ` Dr. Michael Lauer
2007-08-08 15:35       ` Matt Hoosier
2007-08-08 15:37         ` Matt Hoosier
2007-08-08 15:43         ` Dr. Michael Lauer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.