Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

[Builds] PowerTools likely required for builds and ansible host #14943

Open
NeilHanlon opened this issue Dec 16, 2020 · 4 comments
Open

[Builds] PowerTools likely required for builds and ansible host #14943

NeilHanlon opened this issue Dec 16, 2020 · 4 comments

Comments

@NeilHanlon
Copy link
Member

NeilHanlon commented Dec 16, 2020

Something I thought about (and just ran into). The %post, or something else, should have something about enabling powertools. dnf config-manager --set-enabled powertools - I've been testing my pagure role and it blew up because of missing deps... and they're in powertools. A lot of builds are likely going to require powertools regardless.

Originally posted by @nazunalika in #5 (comment)

Own issue so we can reference it during code review.

@nazunalika
Copy link
Member

Context: Ansible and other packages we will end up relying on require the EPEL repository. The EPEL repository requires the PowerTools (or codeready for RHEL) repo to be enabled.

In RHEL 8 it is required to also enable the codeready-builder-for-rhel-8-*-rpms repository since EPEL packages may depend on packages from it:

    # ARCH=$( /bin/arch )
    # subscription-manager repos --enable "codeready-builder-for-rhel-8-${ARCH}-rpms"

On CentOS 8 it is recommended to also enable the powertools repository since EPEL packages may depend on packages from it:

    # dnf config-manager --set-enabled powertools

https://fedoraproject.org/wiki/EPEL

@nazunalika nazunalika changed the title Something I thought about (and just ran into). The %post should have something about enabling powertools. dnf config-manager --set-enabled powertools - I've been testing my pagure role and it blew up because of missing deps... and they're in powertools. [Builds] PowerTools likely required for builds and ansible host Dec 16, 2020
@NeilHanlon
Copy link
Member Author

@nazunalika should this be in the kickstart?

@NeilHanlon NeilHanlon added this to the Initial Deployment milestone Dec 31, 2020
@nazunalika
Copy link
Member

This could be in the kickstart or we can address it on a per-playbook basis (this may or may not be problematic, it's something I'd have to think about) - the tools (like MBS, mock, koji) rely on EPEL, and stuff in EPEL depends on packages in powertools.

@NeilHanlon
Copy link
Member Author

NeilHanlon commented Dec 31, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants