[OE-core] [PATCH] ca-certificates: run postinst script only for -target package

Alexander Kanavin alexander.kanavin at linux.intel.com
Mon Mar 19 16:31:22 UTC 2018


On 03/19/2018 05:32 PM, Martin Jansa wrote:
> Do you already have similar patch for nativesdk-shadow somewhere?

Nope. Hopefully the maintainer of the shadow recipe can step in?

> It would be great if the output of postinst script could be extracted to 
> separate file or the warning provided some simple way to re-execute just 
> the failing postinst manually (e.g. with devtool). Currently I do it 
> manually, which I cannot recommend to anyone (basically removing rm_work 
> from INHERIT to keep rootfs after do_rootfs, then jumping to rootfs 
> directory, exporting D and running the postinst from OPKGLIBDIR).

For rpm, setting ROOTFS_RPM_DEBUG will execute the postinst with -x and 
log the lines and their output to log.do_rootfs. But you're right - care 
to file a bug?

Alex



More information about the Openembedded-core mailing list