yocto_console_view: fix error link

This might need to be updated once https://errors.yoctoproject.org is
fixed for the bitbake-setup switch.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mathieu Dubois-Briand 2025-10-16 15:20:14 +02:00 committed by Richard Purdie
parent 2168e17953
commit 5b21a7f790

View File

@ -197,6 +197,7 @@ function selectChangeForBuild(build: Build, buildset: Buildset,
if (!use_bitbake_setup) {
change.change.poky_revlink = "http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=" + revision;
change.change.poky_revision = revision;
change.change.errorlink = "http://errors.yoctoproject.org/Errors/Latest/?filter=" + revision + "&type=commit&limit=150";
} else {
// We might retrieve the "use_bitbake_setup" after the first execution, so wrong poky data might have been added: remove them.
change.change.poky_revlink = change.change.poky_revision = undefined;
@ -205,8 +206,8 @@ function selectChangeForBuild(build: Build, buildset: Buildset,
change.change.bitbake_revlink = "https://git.openembedded.org/bitbake/commit/?id=" + bitbake_revision;
change.change.oecore_revision = oecore_revision;
change.change.bitbake_revision = bitbake_revision;
change.change.errorlink = "http://errors.yoctoproject.org/Errors/Latest/?filter=" + oecore_revision + "&type=commit&limit=150";
}
change.change.errorlink = "http://errors.yoctoproject.org/Errors/Latest/?filter=" + revision + "&type=commit&limit=150";
let bid = build.buildid;
if ((buildset !== null) && (buildset.parent_buildid != null)) {