On Wednesday, June 3, 2020 5:05:32 PM CEST Quentin Barnes wrote:
On Tue, Jun 02, 2020 at 11:19:11PM +0200, Miroslav Such?? wrote:
> Dne 02. 06. 20 v 23:02 Quentin Barnes napsal(a):
> > 2) the "kernel-rpm-macros"
> > package needs to be added to the @buildsys-build group for Fedora
> That should be a final solution.
> Variant is that `fedora-rpm-macros` will requires "kernel-rpm-macros".
> > (or added to the "config_opts['chroot_setup_cmd']=..." cfg
> > CentOS/RHEL).
> This is quick'n'dirty hack to unblock you for local builds and for testing.
I meant that CentOS/RHEL doesn't have a @buildsys-build. Instead, it
uses a hardcoded list. For CentOS/RHEL, the equivalent fix would be
to update their hardcoded list.
At least in Fedora, I checked few Koji builds for EPEL 8 and I don't see
kernel-rpm-macros in the buildroot installation transactions. So it is not in
the build group.
As long as the package isn't in default minimal buildroot, it is not correct
thing to just put the package into 'chroot_setup_cmd'. Plain mock would behave
differently from koji from this POV.
I'm not sure how the package is supposed to work, but perhaps you can take a
look at `chroot_additional_packages` mock config option, to work-around things.
> Miroslav Suchy, RHCA
> Red Hat, Associate Manager ABRT/Copr, #brno, #fedora-buildsys
> buildsys mailing list -- buildsys(a)lists.fedoraproject.org
> To unsubscribe send an email to buildsys-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
buildsys mailing list -- buildsys(a)lists.fedoraproject.org
To unsubscribe send an email to buildsys-leave(a)lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines