Commit Graph

4 Commits

Author SHA1 Message Date
Vadim Yanitskiy 63531ac474 centos8-repo-install-test: set UPSTREAM_DISTRO=almalinux:8 in Makefile
Otherwise 'debian:bullseye' is used by default when running make.

Change-Id: I1744f5199b1686ee615173572afee524104eb91f
2022-03-04 03:34:04 +07:00
Oliver Smith 3817abe0e4 treewide: use almalinux instead of centos8
CentOS Linux 8 is EOL, attempting to install packages in it results in
an error. CentOS Linux is a rebuild of RHEL (stable versions). The
CentOS projects recommends to use CentOS Stream instead, which is a
build of the "public development branch for RHEL".

After the early EOL was announced on 2020-12-08, alternative projects
AlmaLinux and Rocky Linux have been established as binary compatible
forks of RHEL 8 (stable versions).

Both Alma and Rocky seem to be solid projects, see related Wikipedia
articles and their sources. Pick Alma and adjust the whole tree to use
the almalinux:8 docker image instead of centos:centos8.

Fix for:
  Error: Failed to download metadata for repo 'appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Related: SYS#5818
Related: https://www.centos.org/cl-vs-cs/
Related: https://www.centos.org/centos-linux-eol/
Related: https://bugs.centos.org/view.php?id=18394
Related: https://en.wikipedia.org/wiki/AlmaLinux
Related: https://en.wikipedia.org/wiki/Rocky_Linux
Change-Id: I30e1a773b901b1d2187214445116c7f2aecc4e36
2022-02-02 10:02:54 +00:00
Harald Welte 120f786a54 centos8-repo-install-test: Upstream requires 'powertools' not 'PowerTools'
I just confirmed: With a centos:centos8 base image of a few weeks ago,
"PowerTools" works. With the current docker base image for
centos:centos8, only lowercase "powertools" works, uppercase is no
longer accepted.

https://access.redhat.com/discussions/5417621
https://www.reddit.com/r/CentOS/comments/jd7x3d/how_to_enable_powertools_in_centos_stream/
https://git.centos.org/rpms/centos-repos/blob/c8/f/SOURCES/CentOS-Stream-PowerTools.repo#_11

Change-Id: I0db6c82576c5aae94531b7ec2fd98429cab702de
Closes: SYS#5244
2020-12-09 17:09:32 +01:00
Pau Espin Pedrol a14d7912e2 Rename centos-repo-install-test/Dockerfile to centos8
We are using centos8 as distro name instead of centos everywher else
and jenkins-common.sh are expecting that.

Related: OS#4888
Change-Id: I05b012abced5b812e74315ccf64365896412e876
2020-12-07 13:28:00 +00:00