Meego Wiki
Views

Recompile kernel

From MeeGo wiki
Revision as of 12:32, 23 February 2011 by Danielm (Talk | contribs)
Jump to: navigation, search

Recompiling the MeeGo Kernel

This page explains the kernel recompilation process.

Fetch the kernel source

The first thing you'll need to do to recompile the MeeGo kernel is to download and unpack the MeeGo kernel package. To get that package you can download it with wget like this;

wget http://repo.meego.com/MeeGo/releases/1.1/core/repos/source/kernel-2.6.35.3-10.3.src.rpm

You can of course get your kernel directly from upstream at kernel.org for example.

Alternatively you can use zypper to get kernel sources:

 #zypper install kernel-devel make gcc ncurses-devel

Then you can switch to the kernel source directory (/usr/src/kernels/`uname -a`) and configure with #make menuconfig

Unpack rpm

If you take the packaged MeeGo kernel, then you'll need to unpack this rpm. You can do that this way;

rpm2cpio kernel-2.6.35.3-10.3.src.rpm | cpio -id

and spot the linux-2.6.35.tar.bz2 file and patch-2.6.35.3.bz2 git clone git://gitorious.org/meego-os-base/kernel-source.git

Personal tools