I need to compile my own kernel but I keep on hitting the same brick wall:
RPM build errors:
line 20: It’s not recommended to have unversioned Obsoletes: Obsoletes: kernel-headers
Bad exit status from /var/tmp/rpm-tmp.wcBpXg (%build)
make[1]: *** [scripts/Makefile.package:59: rpm-pkg] Error 1
make: *** [Makefile:1560: rpm-pkg] Error 2
I’m trying to do sudo make rpm-pkg but there seems to be something wrong here.
I got linux-glibc-devel already installed. Though, maybe I would need to install a few more things.
Would it make more sense to compile the kernel with just ‘make’ and then ‘make install’ ?
Hi
AFAIK, in your case it’s only the wifi module that’s needed? If so just build that, no need for the whole kernel… Install the kernel development stuff for you installed kernel and have a read here: Building External Modules — The Linux Kernel documentation