]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
binman: allow '.' to be included in the missing blob tags
authorBryan Brattlof <bb@ti.com>
Thu, 12 Jun 2025 11:38:53 +0000 (06:38 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 26 Jun 2025 14:18:48 +0000 (08:18 -0600)
Extend the regex to add periods '.' in the tag so entries like
ti-fs-enc.bin can be represented in the missing-blob-help file.

Signed-off-by: Bryan Brattlof <bb@ti.com>
tools/binman/control.py

index 1946656f7d368209df3299a0e7c833b93edf2120..e5bd78898069205498c13c443d76000791fd7fa3 100644 (file)
@@ -97,7 +97,7 @@ def _ReadMissingBlobHelp():
         return tag, msg
 
     my_data = pkg_resources.resource_string(__name__, 'missing-blob-help')
-    re_tag = re.compile('^([-a-z0-9]+):$')
+    re_tag = re.compile(r"^([-\.a-z0-9]+):$")
     result = {}
     tag = None
     msg = ''