]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Fri, 10 Dec 2021 04:09:34 +0000 (12:09 +0800)
commitf21ae68097f331e772960bdb0d488fdd53a21055
treeea023c0430ef3c560c5e5f610005b382a4bbbe6b
parenta94e622f222253c6646f1a1157f918d8aa586866
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: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/buildhistory.bbclass