Preparing the Linux Kernel

Discussion topics, Linux related - not requests for help

Moderators: ChriThor, LXF moderators

Preparing the Linux Kernel

Postby RyanF109 » Sun Jan 08, 2012 5:57 pm

What preparation is required when preparing the Linux Kernel for your distro? How much of it is modified to suit the distros needs?

If there are a lot of changes to be made to the Kernel every time it's released is it not quite tedious making the same changes over and over or does software manage this process?

Edit: I should probably clarify, I refer to "your distro" as if you're making your own.
Posts: 16
Joined: Mon Jan 02, 2012 7:53 pm

Postby Dutch_Master » Sun Jan 08, 2012 7:43 pm

Many distro's patch the stock kernel to reflect later additions in drivers (backporting). Most of that is done by script, so wouldn't require a lot of user intervention once set up.
LXF regular
Posts: 2592
Joined: Tue Mar 27, 2007 1:49 am

Postby nelz » Sun Jan 08, 2012 8:06 pm

If you're making your own distro, that shouldn't be necessary. Just use the latest kernel sources from If you need to apply patches for your needs, write a script to do it to make sure everything is done each time you add a new kernel.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
Site admin
Posts: 9048
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby johnhudson » Sun Jan 08, 2012 8:40 pm

In the context of a distro, the kernel is a tiny component; you have to make a whole series of decisions about what to include and how to bind it together.

Once you have made those, it is easier to decide what you want from the kernel; you may also be able to go hunting on the Internet for a ready-made kernel which someone else has created.
LXF regular
Posts: 893
Joined: Wed Aug 03, 2005 1:37 pm

Return to Discussion

Who is online

Users browsing this forum: No registered users and 1 guest