summaryrefslogtreecommitdiff
path: root/util/docker
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@coreboot.org>2022-11-03 11:59:40 +0100
committerPatrick Georgi <patrick@coreboot.org>2022-12-02 08:34:01 +0000
commita6dedb8c22a21ec8e8108f11482da37cb14f48c3 (patch)
treeaca8252bce59819c062f41ac486e064af04315d7 /util/docker
parent52941673b12a5ecd7d921c79268bb7698240bf7b (diff)
board-status: Implement handling of "Clone of"
Change-Id: Ifb728ebb5d0e98b0c8a59f3bd8803ce193a05e5f Signed-off-by: Patrick Georgi <patrick@coreboot.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69184 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'util/docker')
-rw-r--r--util/docker/coreboot.org-status/board-status.html/boards.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/docker/coreboot.org-status/board-status.html/boards.go b/util/docker/coreboot.org-status/board-status.html/boards.go
index dc68cb6d46..96e3be6a5c 100644
--- a/util/docker/coreboot.org-status/board-status.html/boards.go
+++ b/util/docker/coreboot.org-status/board-status.html/boards.go
@@ -536,6 +536,14 @@ func collectBoards(dirs <-chan NamedFS) {
bi["Vendor cooperation score"] = "—"
}
+ venboard := vendor + string(filepath.Separator) + board
+ if bi["Clone of"] != "" {
+ venboard = bi["Clone of"]
+ venboard = strings.ReplaceAll(venboard, "/", string(filepath.Separator))
+ newpath := filepath.Join(dir.Name, "..", "..", venboard)
+ dir.Name = newpath
+ }
+
north, south, superio, cpu, partnum, err := readKconfig(dir)
if err != nil {
fmt.Fprintf(os.Stderr, "'%s' is not a mainboard directory: %v\n", dir.Name, err)