On Tue, Feb 15, 2011 at 8:45 PM, Gabriel M. Beddingfield <[email protected] > wrote:
> > On Tue, 15 Feb 2011, Mark S. Townsley wrote: > > Hi: >> >> I have Meego 1.1 on a netbook and with kernel 2.6.35.3.10.3-netbook. >> I need to re-compile the kernel to turn on deadline IO. Via zypper, I >> installed kernel-netbook and kernel-netbook-devel. kernel-headers are >> already installed. >> > > No, you need to: > > $ sudo zypper si kernel-netbook > > Then the .src.rpm will be in $HOME/rpmbuild/SRPMS/ > > To unpack the .src.rpm to a folder so that you can change the config, > you'll need to do something like: > > $ mkdir sandbox/ > $ cd sandbox/ > $ rpm2cpio /path/to/kernel.src.rpm | cpio -id --no-absolute-filenames > > This will unpack all the patches, .spec files, and tarballs into the > current directory. > > From here, what you want to do depends on whether or not you want to > package your work. My suggestion is to: > > 1. Unpack the tarball. > 2. Patch the tarball using quilt > 3. Borrow the config file from a kernel that's close. > 4. make menuconfig > 5. make && make modules_install && make install > 6. If !satisfied GOTO 4 > > After that, you can worry about creating an RPM. > > -gabriel > Good stuff Gabriel. Perhaps we can put this on the MeeGo wiki somewhere? I haven't checked recently, it may already be there, but if it isn't I think a page on recompiling the kernel to add functionality would be useful. Thanks, Jeremiah
_______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev http://wiki.meego.com/Mailing_list_guidelines
