On Dec 1, 2011 3:32 AM, "David W Noon" <dwn...@ntlworld.com> wrote: >
----- >8 snip > > I have a working initramfs layout, but currently it is too large > (>32MiB) for my /boot partition. The problem package is e2fsprogs, as > it requires dynamic linkage and, consequently, a full-sized glibc. > This sucks, so I need to patch the Makefile(s) to build a more sensible > set of executables for an initramfs. > > All of the code I have written myself compiles and links statically, > typically using klibc, so my finished code is tiny. > > I haven't been working on this for a couple of months now, because the > need for it is not really pressing. The assertion that udev would > require /usr and /var (plus the kitchen sink) really soon is unfounded, > at least for those of us who run more elderly hardware. > > Anyhow, when I'm finished there will be a zsh script that will build an > initramfs image, and even install it to /boot, with a single command. You know, Debian has an e2fsck-static package. Why don't Gentoo, I wonder... That said, you *can* have an "almost-static" e2fsck if you compile it yourself. Rgds,