Oh, goodness. Whenever I think I have stuff down, the olpc devs go and stir things up. Seems now when I try to compile the XO 1.5 kernel on an F11 desktop, I get a lot of errors about dracut-modules-olpc being too old. Well, fine, but where do I get the newest version? That dracut-modules-olpc has some mysterious and inscrutable git source code with no INSTALL instructions, so I couldn’t manage to compile nor install it from source. It’s in the F14 repos, though, so gimme a sec while I torrent F14 beta and burn a DVD…
…So I set up Fedora 14 beta on another machine and managed to compile the XO 1.5 kernel with some funky yum fiddling.
First off, we all know we need to yum groupinstall “Development Tools” for compiling goodness.
This might all be out of order, so I apologize if you run into issues with the order of these steps. But I have just about had it with this stuff tonight, so here’s pretty much what I did:
Downgrade these packages:
yum downgrade glibc-2.12.90-15.i686 glibc-2.12.90-15.i686 glibc-common-2.12.90-15.i686 libxcb-1.5-3.fc14.i686
Install Development Tools (you might need to downgrade some packages listed above after you do this):
yum groupinstall “Development Tools”
And install some other stuff:
yum install unifdef dracut dracut-modules-olpc
Optional for a gui for creating the .config:
yum install qt3-devel qt-devel
Go here to see the latest kernel sources:
http://dev.laptop.org/git/olpc-2.6/
Make sure you’re a regular user. Go into the folder you want the kernel source to live, then:
git clone git://dev.laptop.org/olpc-2.6
cd olpc-2.6
git checkout origin/olpc-2.6.35
make xo_1.5_defconfig
make xconfig
make xo_1_5-kernel-rpm
To install the kernel rpms on the XO 1.5, the previous instructions I wrote up on this post still work:
http://birminghamxo.blogspot.com/2010/09/compiling-xo-15-kernel-on-f11-desktop.html
Yeah, I managed to successfully compile, install, and boot up into my kernel on the XO 1.5 under this new F14 beta stuff. I live for the challenge!