[OE-core] [poky] Early image startup

Gary Thomas gary at mlbassoc.com
Fri Apr 8 14:07:25 UTC 2011


On 04/08/2011 08:01 AM, Gary Thomas wrote:
> On 04/08/2011 07:50 AM, Richard Purdie wrote:
>> On Fri, 2011-04-08 at 15:30 +0200, Koen Kooi wrote:
>>> Op 8 apr 2011, om 15:20 heeft Gary Thomas het volgende geschreven:
>>>
>>>> I have a Poky image which uses a number of kernel modules. For
>>>> whatever reason, the raw image has not had the modules configured
>>>> (no /lib/modules/.../modules.dep) This file is created by 'update-modules'
>>>> but that is run too late in the boot process. The problem is that
>>>> other code, e.g. I'm using iptables via modules, requires the modules
>>>> be configured early and this fails. If I reboot (after 'update-modules'
>>>> has run), everything is fine.
>>>
>>> Sound like you need http://patches.openembedded.org/patch/1917/
>>
>> To be honest that sounds like a more fundamental problem as if the user
>> cares which rtc should be rtc0, there are other ordering constraints
>> being imposed such as a symlink to the "best" rtc device...
>
> Indeed, this patch did not help my situation at all.
>
> I think my problem is that of post-install package scripts (hence
> 'Configuring ...') not being run until quite late.

Looking at the pre-run image, I see that there is /etc/rcS.d/S98configure
which runs these scripts.  Is there any reason I can't move it earlier?

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




More information about the Openembedded-core mailing list