On Mon, Apr 18, 2011 at 1:45 AM, Martin Jansa <martin.ja...@gmail.com> wrote: > On Mon, Apr 18, 2011 at 09:34:55AM +0100, Richard Purdie wrote: >> On Mon, 2011-04-18 at 10:00 +0200, Martin Jansa wrote: >> > Signed-off-by: Martin Jansa <martin.ja...@gmail.com> >> > --- >> > meta/recipes-core/tasks/task-base.bb | 5 ++++- >> > 1 files changed, 4 insertions(+), 1 deletions(-) >> > >> > diff --git a/meta/recipes-core/tasks/task-base.bb >> > b/meta/recipes-core/tasks/task-base.bb >> > index 138e617..10f3af4 100644 >> > --- a/meta/recipes-core/tasks/task-base.bb >> > +++ b/meta/recipes-core/tasks/task-base.bb >> > @@ -179,8 +179,11 @@ RDEPENDS_task-base-acpi = "\ >> > acpid \ >> > libacpi " >> > >> > +# Distro can override apm provider >> > +DISTRO_APM ?= "apm" >> > + >> > RDEPENDS_task-base-apm = "\ >> > - apm \ >> > + ${DISTRO_APM} \ >> > apmd" >> >> Can you explain a little more about why a distro would do this please? >> I'm a little worried this whole file could become a set of DISTRO_* >> variables :/. >>
may be define virtual/apm package and use that in RDEPENDS >> Cheers, >> >> Richard > > For example in SHR we're using FSO which provides apm replacement called > fso-apm which > conflicts with standard apm. > > We can rename it to VIRTUAL-RUNTIME_apm (like > VIRTUAL-RUNTIME_update-alternatives) if you prefer such namespace. > > Cheers, > > -- > Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core