Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes build issue with CentOS7 and modified gitmodules to use https like parent repo for consistency #914

Closed
wants to merge 3 commits into from

Conversation

hsane2001
Copy link

Fix for executable and docker builds that fail due to CentOS7 EOL

Description

  1. Fix for build issue Yum repo issue while building executable #913 with solution as found in https://stackoverflow.com/a/78693402
  2. git submodules use ssh, changed to https for consistency.

Related Issue

Motivation and Context

Allows for the project to build. Ideally should change th eunderlying images to newer ones.

How Has This Been Tested?

Tested on-prem and AWS system on Ubuntu 22.04.

Screenshots

Checklist:

  • [x ] I have read the CONTRIBUTING document.
  • [x ] I have updated the relevant documentation.
  • [x ] I have added tests for new logic.

@hsane2001 hsane2001 marked this pull request as ready for review July 30, 2024 21:49
Revert granulate-utils change
Comment on lines 77 to 79
# Workaround for CentOS7 EOL
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's move to some .sh script so it can be reused.

@Jongy
Copy link
Contributor

Jongy commented Aug 19, 2024

Superseded by: #917

@grariel grariel closed this Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants