[OE-core] [PATCH 2/2] image-buildinfo.bbclass: Introduce IMAGE_BUILDINFO_GITDESCRIBE

Richard Purdie richard.purdie at linuxfoundation.org
Wed Oct 9 17:58:02 UTC 2019


On Wed, 2019-10-09 at 18:05 +0100, Andrei Gherzan wrote:
> This knob can switch in between having full revisions and having git
> describe references in the build info file. By default it is set to 0
> to
> maintain the old behaviour.
> 
> Signed-off-by: Andrei Gherzan <andrei at gherzan.ro>
> ---
>  meta/classes/image-buildinfo.bbclass | 14 ++++++++++++--
>  1 file changed, 12 insertions(+), 2 deletions(-)

I'm not sure we want to even encourage this. We probably do want to
print/store the full hashes as output from this class as they may be
used by CI or in bug reports. The could be unique at the time of
printing but clash later. The output is also dependent on the fetched
tree.

Cheers,

Richard



More information about the Openembedded-core mailing list