Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: does it make sense to define INITSCRIPT_* without inheriting update-rc.d?
Date: Sat, 30 Jun 2012 10:35:19 -0500	[thread overview]
Message-ID: <4FEF1CB7.3000908@windriver.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1206301057240.23189@oneiric>

On 6/30/12 9:57 AM, Robert P. J. Day wrote:
>
> On Sat, 30 Jun 2012, Andrei Gherzan wrote:
>
>> No. It won't make a difference. Or actually it makes a tiny
>> difference: check package.bbclass, function named gen_packagevar.
>>
>> On Sat, Jun 30, 2012 at 3:50 PM, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
>>
>>         currently figuring out details of INITSCRIPT_*, and noticed that the
>>        recipe file irda-utils_0.9.18.bb assigned values to both
>>        INITSCRIPT_NAME and INITSCRIPT_PARAMS without inheriting update-rc.d.

Anything using those variables should inherit the class.  Otherwise it may not 
work as expected down the line when things change.

The purpose of the classes for useradd, update-rc.d and alternatives is to help 
automatically generate the pre/post package install scripts in a standard way.

Eventually I would like to see all of the manual pre/post scripts disappear in 
favor of class generated.  This will help us manage transitions to new 
technologies such as systemd...

>>         is that allowed?  does it make sense?  unless the explicit
>>        do_install() routine in that recipe file somehow takes care of things.
>>
>>        rday
>
>    i'm unclear on what i'm supposed to be looking at in that function,
> and how it answers my question.



  reply	other threads:[~2012-06-30 15:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-30 12:50 does it make sense to define INITSCRIPT_* without inheriting update-rc.d? Robert P. J. Day
2012-06-30 14:40 ` Andrei Gherzan
2012-06-30 14:57   ` Robert P. J. Day
2012-06-30 15:35     ` Mark Hatle [this message]
2012-06-30 16:04       ` Robert P. J. Day

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=4FEF1CB7.3000908@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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