On Thu, 05 Aug 2021 02:33:57 -0000
"Sampson Fung" <sampsonfung(a)gmail.com> wrote:
rpm -qa and dnf list installed return the same result.
Thanks for the info, looks like you are in business.
Regarding the kernel.spec issue, I reported it as
https://bugzilla.redhat.com/show_bug.cgi?id=1990129
Change the below from 1 to 0 allow rpmbuild to finish building the
kernel RPM packages.
diff kernel.spec.dist kernel.spec.works
202c202
< %define with_configchecks %{?_without_configchecks: 0}
%{?!_without_configchecks: 1} ---
> %define with_configchecks %{?_without_configchecks: 0}
> %{?!_without_configchecks: 0}
It might get accepted, though the policy of the fedora kernel team has
been that anyone who builds their own kernels is on their own. It
makes sense because there are so many combinatorial possibilities.
But maybe it has changed.
If I want to learn how to read kernel.spec, where should I start?
Well, the first thing is to understand the spec file organization.
https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/...
I'm not aware of any spec file documentation specific to the kernel. I
think it is institutional awareness within the fedora kernel team. You
can create a new thread here on the kernel list with something like
"can you point me to documentation of the kernel spec file" as the
subject, and maybe someone with more knowledge than me will give you
links to such documentation, if it exists.