diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-06-04 17:40:35 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-06-04 17:40:35 +0000 |
| commit | aaad95b19197ce1655ceddbe7412d8536df94375 (patch) | |
| tree | 1bb3cdae15799c9e4ed3184871e18f254e847da9 | |
| parent | 179ed822514b7f6afdd8a24bc84a2754e2c7d77c (diff) | |
| download | meta-virtualization-aaad95b19197ce1655ceddbe7412d8536df94375.tar.gz | |
scripts: adjust to syhead go source location
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rwxr-xr-x | scripts/oe-go-mod-autogen.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/oe-go-mod-autogen.py b/scripts/oe-go-mod-autogen.py index c44c096a..d3b02012 100755 --- a/scripts/oe-go-mod-autogen.py +++ b/scripts/oe-go-mod-autogen.py | |||
| @@ -502,7 +502,10 @@ class GoModTool(object): | |||
| 502 | template = """# %s %s | 502 | template = """# %s %s |
| 503 | # [1] git ls-remote %s %s | 503 | # [1] git ls-remote %s %s |
| 504 | SRCREV_%s="%s" | 504 | SRCREV_%s="%s" |
| 505 | SRC_URI += "git://%s;name=%s;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/%s" | 505 | # pre styhead releases |
| 506 | # SRC_URI += "git://%s;name=%s;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/%s" | ||
| 507 | # styhead and newer | ||
| 508 | SRC_URI += "git://%s;name=%s;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor.fetch/%s" | ||
| 506 | 509 | ||
| 507 | """ | 510 | """ |
| 508 | # We can't simply write SRC_URIs one by one in the order that go.mod specify them. | 511 | # We can't simply write SRC_URIs one by one in the order that go.mod specify them. |
