I wrote:
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.
Now I do have basic, first-hand experience. I followed the steps in the 'Feature-rhelchroots' URL below and starting a RHEL chroot worked nicely.
https://rpm-software-management.github.io/mock/Feature-rhelchroots
Hopefully that works well for you too.