Barry Scott wrote:
What do I need to setup to allow mock to build for rhel+epel on
Fedora?
I'm getting this error:
$ mock -r rhel+epel-8-x86_64 --print-root
ERROR: /etc/pki/entitlement is not a directory is subscription-manager installed?
I haven't tried building against RHEL in mock, so I don't
have any particular insights nor first-hand experience.
But I guess the first question is, do you have that package
(subscription-manager) installed on the host?
Have you read
https://rpm-software-management.github.io/mock/Feature-rhelchroots
?
https://pavel.raiskup.cz/blog/fedora-builders-for-rhel.html
may also have some useful tips. If nothing else, it seems
to confirm that COPR is using Fedora hosts with RHEL+EPEL
chroots.
--
Todd