Re: Help building custom kernel RPM.

2022-09-03 Thread stan via users
On Sun, 04 Sep 2022 01:58:08 - Sharpened Blade via users wrote: > I am sure it is not the config, unless there is something fedora > specific, because there is an arch linux packagebuild that uses the > the same config additions and works. I diffed menuconfig and got the > same thing to. Does

Re: Help building custom kernel RPM.

2022-09-03 Thread Sharpened Blade via users
I am sure it is not the config, unless there is something fedora specific, because there is an arch linux packagebuild that uses the the same config additions and works. I diffed menuconfig and got the same thing to. Does the spec do something to prevent drivers in staging from being built.

Re: Help building custom kernel RPM.

2022-09-03 Thread Roger Heflin
That may or may not be the right CONFIG_* option."make oldconfig" I think will copy the current config and question you on any new options. You could also look at the source code for the modules you want to build (or make menuconfig and enable them and diff the config file) to figure out what

Re: Help building custom kernel RPM.

2022-09-03 Thread Sharpened Blade via users
I added the CONFIG_NAMEOFMODULE=m to local-config. which works for the normal kernel, do I have to do something else, I would prefer to be able to do it without a TUI because I want to script the build process. Should I run `./scripts/config --module nameofmodule` and `make olddefconfig`. __

Re: Help building custom kernel RPM.

2022-09-03 Thread edmond pilon
I have to rebuild every new kernel because of the simple-drm module issue. I modify my config with the file /rpmbuild/SOURCES/kernel-local kernel-local : # This file is intentionally left empty in the stock kernel. Its a nicety # added for those wanting to do custom rebuilds with altered config o

Re: Help building custom kernel RPM.

2022-09-02 Thread Roger Heflin
You would have to run "make menuconfig" and update the config file used in the source rpm. The config file controls what modules and/or other drivers get compiled, if you did not change the config file none of the add-ons would get compiled. On Fri, Sep 2, 2022 at 6:43 PM Sharpened Blade via use

Re: Help building custom kernel RPM.

2022-09-02 Thread Sharpened Blade via users
I can get the kernel to build from the vanilla sources in the method you outlined, I want to make it an RPM to distribute it in a repo. I am using fedoras spec file because I want it to be as much of a drop in replacement of the normal kernel possible. ___

Re: Help building custom kernel RPM.

2022-09-02 Thread Roger Heflin
You would have to change the correct config options. make menuconfig used to bring up the interface for that and then you need to figure out which corner of the menu your modules are hiding. the rpmbuild is going to be very hardwired to make it harder to do what you are wanting to do. When doi

Help building custom kernel RPM.

2022-09-01 Thread Sharpened Blade via users
I want to build a custom kernel with some modules and patches added, and package this as an rpm to install. I have tried adding it like building the kernel from the git source, but it doesnt have the modules. I think it might have to do with the .spec file. I added the patches to the rpm, and I