ros-infrastructure / ros_buildfarm

ROS buildfarm based on Docker
Apache License 2.0
81 stars 96 forks source link

Work around for broken EPEL 8 mock configs #938

Closed cottsay closed 2 years ago

cottsay commented 2 years ago

It seems that CentOS yanked the CentOS 8 repositories, and the folks at mock/EPEL weren't ready for it, so now all epel-8-*.cfg mock builds are failing. This is a hacky workaround to force almalinux until they can get their heads on straight.

cottsay commented 2 years ago

The approach I'm taking here is to overwrite the default epel-8-x86_64.cfg with one that hard-codes AlmaLinux instead of the previous one which evidently hardcoded CentOS. With the "current" version of mock, this will overwrite the existing file. On the version of mock that's currently in test in EPEL, that file doesn't exist, but is still being symlinked to as the platform default, so this change will just create the missing file.

I don't have an upstream bug at this point - there's been a pending mock-core-configs update for months that doesn't fix the problem either. Priority right now is getting back online.