Matt Mackall announced a new "-tiny" patchset for the 2.6 kernel, now in ebuild flavor. http://marc.theaimsgroup.com/?l=linux-kernel&m=107120051819804&w=2 "How small is -tiny? It's hard to quantify as it's all configurable and some functionality is more important than others, but my current test config has full IPv4 net stack and most other important functionality and will boot comfortably on a 4M x86 box with about 2M free+buffers+cache." Reproducible: Always Steps to Reproduce: MD5 06ba5a7eeb924036633a7b33689b2c4f linux-2.6.0-test11.tar.bz2 33243689 MD5 c9ccf2844ce3d283a98645304bca638b 2.6.0-test11-tiny1.patch.bz2 54389
Created attachment 22161 [details] tiny-sources-2.6.0_beta11-r1.ebuild stolen mainly from mm-sources ebuild.
Created attachment 22742 [details] tiny-sources-2.6.0-r1.ebuild tiny-sources-2.6.0-r1.ebuild new patchset for building against 2.6.0 stable release. see http://www.selenic.com/tiny/2.6.0-tiny1.txt for more details.
almost forgot: 6eda90aa9249454c3fef3b6b2046f1d2 /usr/portage/distfiles/2.6.0-tiny1.patch.bz2
Created attachment 23167 [details] tiny-sources-2.6.1_rc1-r1.ebuild MD5 5b8cbd68b11ec012a52b07cfed404a20 linux-2.6.1-rc1.tar.bz2 33173647 MD5 a782ddbbe4d82eca4efacd6f0a7d4bd2 2.6.1-rc1-tiny1.patch.bz2 514312 disabling CONFIG_PTRACE caused a build error that I was not able to resolve, so I just enabled it for now in my .config file. enabling CONFIG_PROCESSOR_SELECT (and selecting only the relevant cpu type) caused errors in the final linking stage of the kernel image, so I disabled it in my config (no errors from the linker then). also, if CONFIG_NET_SMALL is disabled, you will need to patch drivers/char/random.c as follows: --- drivers/char/random.c.orig 2004-01-04 18:24:46.561055416 -0500 +++ drivers/char/random.c 2004-01-04 18:24:30.342374700 -0500 @@ -1425,7 +1425,7 @@ * Basic cut-down MD4 transform. Returns only 32 bits of result. */ #ifndef CONFIG_NET_SMALL -__u32 half_md4_transform (__u32 const buf[4], __u32 const in[8]) +__u32 half_md4_transform (__u32 buf[4], __u32 const in[8]) { __u32 a = buf[0], b = buf[1], c = buf[2], d = buf[3];
Created attachment 23252 [details] tiny-sources-2.6.1_rc1-r2.ebuild fixes CONFIG_PROCESSOR_SELECT and CONFIG_NET_SMALL build issues, as well as some other issues: http://www.selenic.com/tiny/2.6.1-rc1-tiny2.txt MD5 b80200496102748b68785caf8532a066 2.6.1-rc1-tiny2.patch.bz2 530805
Created attachment 23613 [details] tiny-sources-2.6.1-r1.ebuild http://www.selenic.com/tiny/2.6.1-tiny1.txt update to 2.6.1 release MD5 68ec83187bf8a1c1c96df9546fccbf30 2.6.1-tiny1.patch.bz2 518657
Created attachment 24958 [details] tiny-sources-2.6.2_rc3-r1.ebuild http://www.selenic.com/tiny/2.6.2-rc3-tiny1.txt MD5 887c072d0be3e165c226687feaf97cf8 2.6.2-rc3-tiny1.patch.bz2 521519
Added, I used the kernel-2 eclass for the ebuilds.