]> 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>
Tue, 7 Dec 2021 06:42:43 +0000 (14:42 +0800)
commit8b6e565afcfb73a33e3759486554365798e74d66
tree06ea7d3cc637f14d7732fe12133ab6dbd9bbf7d4
parent19577427d25739588fdf607b6e3905dddfe206ff
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