From bd88a207f97ccfc5c5dddd1ecbd7c609a0de1001 Mon Sep 17 00:00:00 2001 From: Abderrahim Kitouni Date: Wed, 5 Aug 2026 17:06:00 +0100 Subject: [PATCH] examples: Use ftp.gnu.org instead of ftpmirror.gnu.org The latter has been unreliable recently, it is still kept but moved to a be mirror instead. This way it's still tried first, but falls back to ftp.gnu.org. --- doc/examples/autotools/project.conf | 9 ++++++++- doc/examples/junction-includes/project.conf | 9 ++++++++- doc/examples/junctions/autotools/project.conf | 9 ++++++++- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/doc/examples/autotools/project.conf b/doc/examples/autotools/project.conf index 3d9dfc3a4..21794a047 100644 --- a/doc/examples/autotools/project.conf +++ b/doc/examples/autotools/project.conf @@ -10,10 +10,17 @@ element-path: elements # Define some aliases for the tarballs we download aliases: alpine: https://bst-integration-test-images.ams3.cdn.digitaloceanspaces.com/ - gnu: http://ftpmirror.gnu.org/gnu/automake/ + gnu: https://ftp.gnu.org/gnu/automake/ plugins: - origin: pip package-name: buildstream-plugins elements: - autotools + +# Define mirrors +mirrors: +- name: gnu_mirror + aliases: + gnu: + - https://ftpmirror.gnu.org/gnu/automake/ diff --git a/doc/examples/junction-includes/project.conf b/doc/examples/junction-includes/project.conf index 9c9cabf6b..b339e65ec 100644 --- a/doc/examples/junction-includes/project.conf +++ b/doc/examples/junction-includes/project.conf @@ -3,7 +3,7 @@ min-version: 2.0 element-path: elements aliases: - gnu: http://ftpmirror.gnu.org/gnu/automake/ + gnu: https://ftp.gnu.org/gnu/automake/ plugins: - origin: pip @@ -18,3 +18,10 @@ options: type: bool description: Whether this project is funky default: False + +# Define mirrors +mirrors: +- name: gnu_mirror + aliases: + gnu: + - https://ftpmirror.gnu.org/gnu/automake/ diff --git a/doc/examples/junctions/autotools/project.conf b/doc/examples/junctions/autotools/project.conf index b05ba09b1..b87af0932 100644 --- a/doc/examples/junctions/autotools/project.conf +++ b/doc/examples/junctions/autotools/project.conf @@ -10,7 +10,7 @@ element-path: elements # Define some aliases for the tarballs we download aliases: alpine: https://bst-integration-test-images.ams3.cdn.digitaloceanspaces.com/ - gnu: https://ftpmirror.gnu.org/gnu/automake/ + gnu: https://ftp.gnu.org/gnu/automake/ # Declare the plugins we're going to use plugins: @@ -18,3 +18,10 @@ plugins: package-name: buildstream-plugins elements: - autotools + +# Define mirrors +mirrors: +- name: gnu_mirror + aliases: + gnu: + - https://ftpmirror.gnu.org/gnu/automake/