diff options
-rw-r--r-- | util/docker/coreboot.org-status/board-status.html/boards.go | 8 |
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) |