Skip to contentSkip to conversation

relnotes.py: use kernel mirrors edge network

PATCH New Michael Halstead 1 participant 2 messages Oct 31, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 relnotes.py: use kernel mirrors edge network

mirrors.kernel.org always resolves to a single authorative host which may be quite far from the end user. mirrors.edge.kernel.or resolves to the mirror nearest the user resulting in a far better download experience.

---
 relnotes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
relnotes.py +1 -1
index 94f853f..951226a 100755
@@ -141,7 +141,7 @@ if __name__ == '__main__':
     # copied into the release directory. i.e. Just RELEASENOTES, not RELEASENOTES.<release>
     RELEASE_NOTES = ".".join(["RELEASENOTES", RELEASE])
     DL_BASE_URL = "https://downloads.yoctoproject.org/releases/yocto"
-    MIRROR_BASE_URL = "https://mirrors.kernel.org/yocto/yocto"
+    MIRROR_BASE_URL = "https://mirrors.edge.kernel.org/yocto/yocto"
     HOME = os.getcwd()
     POKY_REPO = os.path.join(HOME, "poky")
     outpath = os.path.join(HOME, RELEASE_NOTES)
Signature · 1 line
2.51.1
#1 lore raw

PATCH 2/2 relnotes.py: append PGP signing details

We switched to detached signature files because clearsigning removed special characters. Update the release notes to incidate the location of the detached signature and current keys.

---
 relnotes.py | 6 ++++++
 1 file changed, 6 insertions(+)
relnotes.py +6 -0
index 951226a..4dc5412 100755
@@ -334,6 +334,12 @@ if __name__ == '__main__':
             FIXES_RST += "-  %s\n" % commit
     print("Done")
 
+    sig_url = "/".join([DL_BASE_URL, RELEASE, "RELEASENOTES.asc"])
+    key_url = "/".join([DL_BASE_URL, "keys", "yocto-release-key.asc"])
+
+    outfile.write("Detached signature at %s\n" % sig_url)
+    outfile.write("Signing key at %s\n\n" % key_url)
+
     # write to RST file
     rstfile.write(".. SPDX-License-Identifier: CC-BY-SA-2.0-UK\n\n")
     rstfile.write( cast_to_rst_sections("Release notes for %s (%s)" % ( RELEASE.capitalize(), BRANCH.capitalize()), Sections.Section))
Signature · 1 line
2.51.1