On Fri, 18 Oct 2019 18:26:01 -0000
"Kot Begemot" <kbdeamon(a)gmail.com> wrote:
I would like to accomplish a number of things:
1. apply the patch to the kenel (which I am able to do now) while
preserving the prioprietory NVIDIA driver installation. Is this
possible or would I have to re-install and re-compile the drivers?
I think if you use the akmod packages from rpmfusion, they will build
the driver module at boot if it isn't there. I run a radeon, so I am
not familiar with this. When I used to run nvidia, I couldn't use the
rawhide kernels because rpmfusion hadn't created the necessary files
(or maybe it was nvidia) because the kernels were development kernels.
It might be possible to use the binary blob right from nvidia, but you
would have to take care of all updating outside the package system.
2.
Can you tell me what will happen with respect to kernel updates post
installation. Particularly as it relates to the NVIDIA drivers? Can
I keep running dnf updates or would I have to prevent kernel updates
some how?
I prevent kernel updates so that my locally compiled kernel is always
the default; the stock kernels don't have my patch in them. The -x
option to dnf works, dnf -x kernel\* update.
3. After the compilation completes I find the following
kernel-* files in /home/user0/rpmbuild/RPMS/x86_64 which is great.
But is there any way to avoid compiling the "debug" versions? I am
trying "rpmbuild -ba kernel.spec" at the moment.
Edit the spec file, and turn off all the debug options; flip them from
1 to 0. These are just below the
%define buildid .20191008
that you should be setting so your kernel is identified as a custom
version.
e.g.
# kernel-debug
%define with_debug %{?_without_debug: 0} %{?!_without_debug: 0}