[OE-core] [RFC] opkg: avoid running postinst scripts twice when using systemd

Alexander Kanavin alexander.kanavin at linux.intel.com
Thu Dec 14 14:24:30 UTC 2017


On 12/14/2017 03:59 PM, Stefan Agner wrote:

> That at least contradicts my testing with opkg/ipk.
> 
> If /etc/ipk-postinsts is not there and /var/lib/opkg/status is there
> (package management installed), then run-postinst runs "opkg configure",
> which takes care of postinsts just fine.
> 
> Reading the code at least let me to believe that this is true for deb as
> well.
> 
> Not sure how it works with rpm though. How do you came to the conclusion
> that this only happens when using rpm?

I think there was confusion between what happens at image creation time 
vs what happens at first boot :)

So what's the issue again that your RFC patch doesn't resolve? I read 
your followup and I still don't get it.

Alex



More information about the Openembedded-core mailing list