Re: [OS-BUILD PATCH 0/3] Implement better SRPM BuildRequires check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Don Zickus on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1786#note_951720936

@hertonrk-rh @prarit @jmflinuxtx

To answer a variety of questions.  Yes srpm processes the configs.  It kinda
has to otherwise what is rpmbuild going to use to build the kernel? :-)

Why is this an issue now? It popped up with my MR last week actually fixing
how this works (otherwise the dep was only rpmbuild). Some folks do not want
to install the full list of buildreqs just to generate a srpm and upload it.
Especially for users on Fedora trying to build a RHEL-X srpm and don't want to
have to install obsoleted or missing RHEL-X buildreqs (system-sb-certs, llvm-
tools, etc).

As for 'dnf builddep kernel' that could work too in some cases.  One quirk
with that approach is it needs to match the kernel in development, so a RHEL
kernel on a Fedora distro may not work.  But we can advertise this too if we
want.

I am also looking at the docs here: https://cki-project.gitlab.io/kernel-
ark/#cloning-the-repository should either be auto-generated or told to use
'dnf builddep kernel'.  I am working with COPR and they didn't have an easy
way to install the packages necessary to build the srpm other than guessing.

I am trying to improve the user experience
git clone <kernel repo>
make dist-srpmbuildreqs-check | sudo dnf install  (??)
make dist-srpm
koji build

or something like that.  IOW there is a gap here that I am trying to address
with a consistent story.  Something that isn't complicated (yeah, this MR
leans toward complicated).

Thoughts?
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux