Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] update-rc.d: Allow to use different initscripts provider
Date: Tue, 17 Jun 2014 14:53:03 +0200	[thread overview]
Message-ID: <20140617125303.GA2117@jama> (raw)
In-Reply-To: <3393068.dWaMXD2vQY@peggleto-mobl5.ger.corp.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1499 bytes --]

On Tue, Jun 17, 2014 at 01:33:17PM +0100, Paul Eggleton wrote:
> Hi Martin,
> 
> On Friday 06 June 2014 18:57:34 Martin Jansa wrote:
> > * until now all recipes were respecting VIRTUAL-RUNTIME_initscripts
> >   variable but commit bba835fed88c3bd5bb5bd58962034aef57c408d8
> >   hardcoded "initscripts" runtime dependency
> > 
> > Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> > ---
> >  meta/classes/update-rc.d.bbclass | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/meta/classes/update-rc.d.bbclass
> > b/meta/classes/update-rc.d.bbclass index ca9486b..19b081d 100644
> > --- a/meta/classes/update-rc.d.bbclass
> > +++ b/meta/classes/update-rc.d.bbclass
> > @@ -1,7 +1,8 @@
> >  UPDATERCPN ?= "${PN}"
> > 
> >  DEPENDS_append = " update-rc.d-native"
> > -DEPENDS_append_class-target = " initscripts"
> > +VIRTUAL-RUNTIME_initscripts ?= "initscripts"
> > +DEPENDS_append_class-target = " ${VIRTUAL-RUNTIME_initscripts}"
> >  UPDATERCD = "update-rc.d"
> >  UPDATERCD_class-cross = ""
> >  UPDATERCD_class-native = ""
> 
> Technically this isn't right either though - VIRTUAL-RUNTIME_initscripts is 
> for the runtime package name not the recipe as is being added here. It just so 
> happens that they are the same thing for initscripts.

Ah, you're right, I was blind when reading DEPENDS (I've even mentioned
runtime dependency in commit message :/), sorry.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

      reply	other threads:[~2014-06-17 12:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-06 16:57 [PATCH] update-rc.d: Allow to use different initscripts provider Martin Jansa
2014-06-17 12:33 ` Paul Eggleton
2014-06-17 12:53   ` Martin Jansa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140617125303.GA2117@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=paul.eggleton@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox