[OE-core] postinst does not finish

Koen Kooi koen at dominion.thruhere.net
Wed Apr 17 18:27:07 UTC 2013


Op 17 apr. 2013, om 11:37 heeft Paul Eggleton <paul.eggleton at linux.intel.com> het volgende geschreven:

> On Wednesday 17 April 2013 11:03:30 Andreas Müller wrote:
>> On Wed, Apr 17, 2013 at 10:28 AM, Paul Eggleton
>> <paul.eggleton at linux.intel.com> wrote:
>>> On Tuesday 16 April 2013 23:42:08 Khem Raj wrote:
>>>> On Apr 16, 2013, at 11:28 PM, Andreas Müller
>>>> <schnitzeltony at googlemail.com>
>>>> 
>>>> wrote:
>>>>> sorry again me with another issue. I updated all layers from master
>>>>> few hours ago and built from scratch. On first boot with systemd
>>>>> postinst never finishes. I see only:
>>>>> 
>>>>> [**  } A start job is running for Run pending postinsts
>>>>> 
>>>>> and ** are moving around.
>>>>> 
>>>>> Does anybody else face this one?
>>>> 
>>>> ran into same issue. I disabled post installs to run on boot
>>> 
>>> Could you guys please try to debug this and find out what is hanging here,
>>> because with core-image-minimal and systemd I don't see this problem, the
>>> run- postinsts script finishes as expected.
>> 
>> are you using opkg as I do?
> 
> I wasn't, however I was under the impression Khem was also using rpm. Now I am 
> using opkg, and what I can see is that run-postinsts does take some time on 
> boot but it does appear to eventually finish and I don't get any error 
> indicating it failed; systemctl doesn't appear to list run-postinsts (although 
> I don't know whether it should or not.)

I get a similar result here, but I have to rerun all postinsts with gconftool to make the packages actually work. I'll update OE-core tomorrow and try to get some more debug info. Systemctl says postinsts ran for 3 and a half minutes, a big improvement over the 60+ minutes for the same image built against 1.3.


regards,

Koen



More information about the Openembedded-core mailing list