[PATCH 7/7] patman: Support autolink when some series are archived

Simon Glass sjg at chromium.org
Sat May 24 19:06:55 CEST 2025


Archived series currently cause an error when autolink is attempted. Add
a check to avoid this.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/patman/cser_helper.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/patman/cser_helper.py b/tools/patman/cser_helper.py
index dd2cfc5cbf0..ec44357c252 100644
--- a/tools/patman/cser_helper.py
+++ b/tools/patman/cser_helper.py
@@ -495,6 +495,10 @@ class CseriesHelper:
             # Get a list of links to fetch
             for svid, ser_id, version in max_vers:
                 svinfo = svdict[svid]
+
+                # Handle archived series
+                if ser_id not in sdict:
+                    continue
                 ser = sdict[ser_id]
 
                 pwc = self.get_pcommit_dict(svid)
-- 
2.43.0

base-commit: e3ced530e543c9f24cbc66430abc6109ce8df015
branch: pate


More information about the U-Boot mailing list