After getting frustrated by the lack of ways to rapidly test kernel patches, I cooked up the following.
1. Find yourself a nice kernel source tree, say, 'git clone git://dev.laptop.org/olpc-2.6', then configure it, 'make ARCH=i386 olpc_defconfig' should do that trick, remember what directory you left the source in. 1. Run: cd 2. Run: wget http://aehallh.com/~warp/olpc/build-olpc-custom.tar.gz 3. Run: tar -zxvf build-olpc-custom.tar.gz 4. Run: ~/build-olpc-custom.sh <path to the kernel source tree> 5. Watch it compile, barring errors you should eventually get a rpm or two off in ~/olpc-custom-rpms/RPMS/i586/. Note, this does not make a useful SRPM, nor does it build the debugging packages. It also isn't a perfect replacement for 'make-kpkg kernel_image' from the Debian world. On the other hand, it works in place on the source tree you specified, doesn't do anything to the config except for a 'make oldconfig', and doesn't do any sort of a 'make clean' or 'make distclean' on the tree. Which means that you can test slight modifications without major issues, though don't expect the versions to be in sync with the official OLPC rpm versions. If this is popular and any major issues get ironed out, this should all go into a wiki and the code into git, or something along those lines. Let me know if there are any issues, Zephaniah E. Hull. -- 1024D/E65A7801 Zephaniah E. Hull <[EMAIL PROTECTED]> 92ED 94E4 B1E6 3624 226D 5727 4453 008B E65A 7801 CCs of replies from mailing lists are requested.
signature.asc
Description: Digital signature
_______________________________________________ Devel mailing list [email protected] http://lists.laptop.org/listinfo/devel
