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

Richard Purdie richard.purdie at linuxfoundation.org
Fri Apr 14 08:49:20 UTC 2017


On Fri, 2017-04-14 at 04:39 +0200, Peter Kjellerstedt wrote:
> This enables tracing of the postinst functions created in base-passwd
> and useradd.bbclass if BB_VERBOSE_LOGS is enabled. I found this
> extremely useful during verification of the useradd functionality,
> especially as there otherwise is absolutely nothing in the logs of
> why
> a failure in a postinst function happened.
> 
> I also simplified useradd_sysroot_sstate() by only having the code to
> create the postinst files once.
> 
> Feel free to squash these commits with the "base-passwd/useradd:
> Various improvements to useradd with RSS" commit if you prefer.

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.

Not sure what we can do but this needs more thought.

Cheers,

Richard







More information about the Openembedded-core mailing list