]> code.ossystems Code Review - openembedded-core.git/commit
buildhistory: Fix srcrevs output
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 Nov 2021 15:32:36 +0000 (15:32 +0000)
committerSteve Sakoman <steve@sakoman.com>
Mon, 6 Dec 2021 14:48:48 +0000 (04:48 -1000)
commit9a7ea10660d0efd87e8cadf866e6dbed112b7f94
tree1373569425338b9798cae5335f87c7b4a89c83ee
parent0c12a3a3008ec1202dff3b4986029dd1a4e8f9a7
buildhistory: Fix srcrevs output

The code was assuming that the a recipe with only one srcrev wouldn't "name"
it. This isn't the case as the glibc or bzip2 recipes show, you can have
a single srcrev which is named.

We can pull the data from the fetcher and in fact we already have it, we just
need to handle the "default" case and make that code the default for all srcrev
regardless of length.

[YOCTO #14017]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 45ae567932ba52b758eb41754453e9828d9533a1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/buildhistory.bbclass