[OE-core] [PATCH 3/3] texinfo: fix info not work

Hongxu Jia hongxu.jia at windriver.com
Wed Sep 24 08:58:03 UTC 2014


On 09/24/2014 04:37 AM, Richard Purdie wrote:
> I think there are a few issues here. Firstly, this postinst can run at
> build time which means there is a dependency on texinfo-native. I guess
> if this fails, it will just run on target so its probably "harmless" but
> not deterministic. Secondly, anything installing an info directory
> really needs to update the dir files with its own postinst. For optimal
> handling at rootfs time, that will need trigger/intercept support.

Hi Richard,

Yes, you are right, I will refer Ubuntu to add a script to 
postinst_intercept
to do that, run it after all packages have been installed at build time.

And about trigger, but I have no idea about how to implement it. It seems
we support pkg_postinst/pkg_preinst but don't support pkg_triggers,
Refer triggers in install-info_5.2.0.dfsg.1-4_amd64.deb, we got:
...
interest-noawait /usr/share/info
...

V2 incoming

//Hongxu

> So this probably can merge as it improves things however we need some
> enhacement bugs opening related to this, we may want to force the
> postinst to run on target for now so things are deterministic too.
>
> Cheers,
>
> Richard
>
>




More information about the Openembedded-core mailing list