relnotes.py: use kernel mirrors edge network
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.
Signed-off-by Michael Halstead <[email protected]>
--- relnotes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
relnotes.py +1 -1
@@ -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
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.
Signed-off-by Michael Halstead <[email protected]>
--- relnotes.py | 6 ++++++ 1 file changed, 6 insertions(+)
relnotes.py +6 -0
@@ -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