[OE-core] [PATCH 0/2] Allow postinst functions to be verbose

Alexander Kanavin alexander.kanavin at linux.intel.com
Tue Apr 18 10:16:39 UTC 2017


On 04/14/2017 04:10 PM, Peter Kjellerstedt wrote:
>> I'm afraid I can't take these since these scripts get written into the
>> sstate objects for the recipes in question and this would make the
>> sstate change depending on the parameters you call bitbake with. I
>> think we'd both agree that is undesirable.
>
> Bother. Did not think of that (I am so used to having it enabled in all my
> builds).
>
>> Not sure what we can do but this needs more thought.
>
> Yeah, it would be great if the output from the postinst scripts was actually
> captured. But we can think of that for 2.4.

Are you using rpm? If you are, we already have ROOTFS_RPM_DEBUG variable 
which, if enabled, directs rpm to output a lot more to the log.do_rootfs 
than it normally would. Can you switch it on in your local.conf and see 
if you get what you need?

If the log still isn't verbose enough, please write a comment to this bug:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=11096

explaining what kind of output from rpm would be useful to have, and we 
can patch rpm to do that.


Alex



More information about the Openembedded-core mailing list