diff mbox series

[06/15] fetch2: gitsm: remove needless SRCREV_FORMAT override

Message ID 20250902064515.30879-7-stefan.herbrechtsmeier-oss@weidmueller.com
State New
Headers show
Series fetch2: gitsm: rework and simplify | expand

Commit Message

Stefan Herbrechtsmeier Sept. 2, 2025, 6:45 a.m. UTC
From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>

Remove the SRCREV_FORMAT because it is only used together with the
SRC_URI and not implicit URLs.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
---

 lib/bb/fetch2/gitsm.py | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

diff --git a/lib/bb/fetch2/gitsm.py b/lib/bb/fetch2/gitsm.py
index 15b9c3740..bda9864ee 100644
--- a/lib/bb/fetch2/gitsm.py
+++ b/lib/bb/fetch2/gitsm.py
@@ -136,11 +136,6 @@  class GitSM(Git):
             #ld.setVar('SRC_URI', url)
             ld.setVar('SRCREV_%s' % module, subrevision[module])
 
-            # Workaround for issues with SRCPV/SRCREV_FORMAT errors
-            # error refer to 'multiple' repositories.  Only the repository
-            # in the original SRC_URI actually matters...
-            ld.setVar('SRCREV_FORMAT', module)
-
             function(ud, url, module, paths[module], workdir, ld)
 
         return submodules != []