Skip to content

Commit 7791f48

Browse files
frezboshanduur
authored andcommitted
feat: use kernel gnu mirrors
Official GNU mirrors are mostly down or flaky, switch to kernel gnu mirrors. Signed-off-by: Noel Georgi <git@frezbo.dev> (cherry picked from commit da6e92a)
1 parent d908dc0 commit 7791f48

46 files changed

Lines changed: 94 additions & 52 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/renovate.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.gitignore

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.kres.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ spec:
1919
- tools-zlib-ng
2020
- tools-zstd
2121
reproducibleTargetName: reproducibility
22+
extraBuildArgs:
23+
- GNU_MIRROR_URL
24+
makefile:
25+
extraVariables:
26+
- name: GNU_MIRROR_URL
27+
defaultValue: https://mirrors.kernel.org
2228
---
2329
kind: common.Renovate
2430
spec:

Makefile

Lines changed: 8 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

autoconf/pkg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependencies:
88
runtime: yes
99
steps:
1010
- sources:
11-
- url: https://ftpmirror.gnu.org/gnu/autoconf/autoconf-{{ .autoconf_version }}.tar.xz
11+
- url: "{{ .GNU_MIRROR_URL }}/gnu/autoconf/autoconf-{{ .autoconf_version }}.tar.xz"
1212
destination: autoconf.tar.xz
1313
sha256: "{{ .autoconf_sha256 }}"
1414
sha512: "{{ .autoconf_sha512 }}"

automake/pkg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77
- stage: autoconf
88
steps:
99
- sources:
10-
- url: https://ftpmirror.gnu.org/gnu/automake/automake-{{ .automake_version }}.tar.xz
10+
- url: "{{ .GNU_MIRROR_URL }}/gnu/automake/automake-{{ .automake_version }}.tar.xz"
1111
destination: automake.tar.xz
1212
sha256: "{{ .automake_sha256 }}"
1313
sha512: "{{ .automake_sha512 }}"

bash/pkg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependencies:
88
runtime: true
99
steps:
1010
- sources:
11-
- url: https://ftpmirror.gnu.org/gnu/bash/bash-{{ .bash_version }}.tar.gz
11+
- url: "{{ .GNU_MIRROR_URL }}/gnu/bash/bash-{{ .bash_version }}.tar.gz"
1212
destination: bash.tar.gz
1313
sha256: "{{ .bash_sha256 }}"
1414
sha512: "{{ .bash_sha512 }}"

bc/pkg.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ dependencies:
77
- stage: perl
88
steps:
99
- sources:
10-
- url: https://ftpmirror.gnu.org/gnu/bc/bc-{{ .bc_version }}.tar.gz
10+
- url: "{{ .GNU_MIRROR_URL }}/gnu/bc/bc-{{ .bc_version }}.tar.gz"
1111
destination: bc.tar.gz
12-
sha256: {{ .bc_sha256 }}
13-
sha512: {{ .bc_sha512 }}
12+
sha256: "{{ .bc_sha256 }}"
13+
sha512: "{{ .bc_sha512 }}"
1414
prepare:
1515
- |
1616
tar -xzf bc.tar.gz --strip-components=1

bison/pkg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66
- stage: perl
77
steps:
88
- sources:
9-
- url: https://ftpmirror.gnu.org/gnu/bison/bison-{{ .bison_version }}.tar.xz
9+
- url: "{{ .GNU_MIRROR_URL }}/gnu/bison/bison-{{ .bison_version }}.tar.xz"
1010
destination: bison.tar.xz
1111
sha256: "{{ .bison_sha256 }}"
1212
sha512: "{{ .bison_sha512 }}"

0 commit comments

Comments
 (0)