Modifying the Kernel
From Freespire
First, retrieve the los-kernel-image-2.6.14 source:
# apt-get update # apt-get source los-kernel-image-2.6.14 # cd los-kernel-image-2.6.14-2.6.14.4
At this point it is a good idea to add an entry to the debian/changelog file so the packages we are going to build will have a different version number from the standard kernel module packages.
Next, install and unpack the los-kernel-source-2.6.14 package, and copy the config file into the unpacked source. We also need to install libqt3-dev to run the make xconfig target to edit the config file:
# sudo apt-get install los-kernel-source-2.6.14 # sudo tar xfz /usr/src/los-kernel-source-2.6.14.tar.gz -C /usr/src # sudo tar xfz /usr/src/los-kernel-headers-2.6.14.tar.gz -C /usr/src # sudo cp config /usr/src/kernel-source-2.6.14/.config # sudo apt-get install libqt3-dev # sudo (cd /usr/src/kernel-source-2.6.14 && make xconfig)
Now a user interface will come up that allows you to modify the kernel options. Make your modifications, save the result and exit. Now we need to copy the config file back into the los-kernel-image-2.6.14 source directory and build the kernel image:
# cp /usr/src/kernel-source-2.6.14/.config config # dpkg-buildpackage
Once this is done we need to install all the resulting .deb files and build the los-kernel-extra-2.6.14 package so it is compatible with the new kernel. Then we need to install the .debs from *that* build and build los-kernel-suite-2.6.14. (As always, add new entries to the debian/changelog files so that we generate packages with different version numbers.)

