Posted by Ed on 07/12/2005 @ 6:12 PM
First read step 1 if you haven't already
STEP 1
I dont use debian kernels, never have and never will. Go grab vanilla 2.6.12.2. Download it to your host machine, not inside the chroot. Then download the patch for e2compr that I fixed up at e2compr-2.6.12.2.patch.bz2 . You can check out their homepage at http://e2compr.sourceforge.net . They've been around since 2.1.x days and hopefully soon will be included in mainline. Grab the e2fsprogs package there too as we'll want to have userspace tools that understand it. Again, download everything outside of your chroot.
Once everything is downloaded, patch the kernel. You can use the following config as a template for WRAP setup. WRAP kernel config This doesn't have any wifi support configured in. It uses LZO for ext2 compression, you can decide which algorithm would work best for you, I think the fast decompression and 2:1 avg compression rate more than makes up for the heavy cpu load of compressing with LZO.
Compile the kernel with make binrpm-pkg this packages up the kernel and required boot files along with the modules, no other target I believe will make it nice and easy to do that. You'll want to either tell rpm via alien or rpm directly to install the files to your chroot'd directory. I use mc to traverse the rpm and then manually copy the files to where they're supposed to go.
STEP 3 will describe how to build e2progs and install that.