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

install_prerequisites.py: proper handling of curl on EL9+ #242

Closed
SwooshyCueb opened this issue May 1, 2024 · 0 comments
Closed

install_prerequisites.py: proper handling of curl on EL9+ #242

SwooshyCueb opened this issue May 1, 2024 · 0 comments
Assignees

Comments

@SwooshyCueb
Copy link
Member

At present, for EL9, we remove curl from the list of packages to install, with a comment explaining the rationale:

if int(distro_major_version) == 9:
# For version 9, curl is installed by another step of this process and manually installing the package
# here creates a conflict. Just delete curl from the list of packages to install.
main_package_list.remove('curl')

However, this comment doesn't tell the whole story.
Starting with EL9, by default, curl and libcurl are provided by curl-minimal and libcurl-minimal, respectively. The way this was accomplished was a bit janky, as the package manager will not always automatically evict the -minimal packages when someone is trying to install the full variants.
the -minimal packages are suitable for our purposes, so the proper solution here is to install curl-minimal on EL9+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants