Ask Your Question
1

Can I create a kernel config file so updated kernels will have my changes?

asked 2014-01-13 21:41:26 -0600

PrestonTW gravatar image

updated 2014-09-28 12:05:01 -0600

mether gravatar image

Hello,

I have built kernels before to provide support for my RTS5129 SD card reader, but I was wondering whether I could automate the process slightly. I use yum to get updated kernels--is there anyway to make the rpm package check a configuration file and then alter the package to include specific changes to the kernel? Or since the kernel is already packaged, is this not possible?

Any help is greatly appreciated! PrestonTW

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-01-21 00:10:49 -0600

ckujau gravatar image

updated 2014-01-21 00:11:05 -0600

As yum fetches only prepackaged binary packages, this would not be possible. Either you install a kernel via yum from a Fedora repository or you build the kernel yourself, and use "make oldconfig" to use an older .config for a newer kernel.

edit flag offensive delete link more

Comments

1

A kernel needs to be built with the configurations, they aren't just picked up at runtime. Fedora provides built kernels. You can make rpms using the information provided here, though: https://fedoraproject.org/wiki/Building_a_custom_kernel However if a newer kernel version is installed, it'll become the default boot choice.

FranciscoD_ gravatar imageFranciscoD_ ( 2014-01-21 03:16:43 -0600 )edit

Question Tools

Stats

Asked: 2014-01-13 21:41:26 -0600

Seen: 285 times

Last updated: Jan 21 '14