[poky] [PATCH] Control over when package init scripts are run

Gary Thomas gary at mlbassoc.com
Mon Apr 18 07:10:40 PDT 2011


On 04/18/2011 08:04 AM, Richard Purdie wrote:
> On Mon, 2011-04-18 at 07:49 -0600, Gary Thomas wrote:
>> On 04/08/2011 09:05 AM, Gary Thomas wrote:
>>> The script /etc/rcS.d/S98configure is run on the first boot only
>>> to process any postponed package post-install scripts. The default
>>> position of this (98 == last) can be wrong, so let the distribution
>>> set this (just a matter of ?= assignment). This patch also removes
>>> some slugos stuff and extends the flexibility to systems which use
>>> RPM packaging as well.
>>>
>>> Tested on my PowerPC router, running as S00configure - works a treat.
>>>
>>
>> What about this patch?  It's been 10 days - no discussion.
>
> Sorry, many of us were travelling for Collab/ELC and it was the Yocto
> 1.0 launch there. I'm trying to get through my backlog now :)

I knew that, so I was just bringing it back to the surface :-)  [Would have been
at ELC myself, but I have horses to feed...]

>
>> Note: the patch has no effect on normal operation, it just lets a user
>> or distribution control when the package init scripts are run (and then
>> this is only on the initial boot)
>>
>> Note 2: this is a case where I can't override this behaviour in my local
>> layers, so a core change is required.
>
> I'm ok with the patch but could you rename the variable to something
> generic like POSTINSTALL_INITPOSITION please?

Sure - I was just following the opkg version as a guide.  I'll set both
modes (opkg/rpm) to use the same variable name.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the poky mailing list