On Tue, Dec 25, 2012 at 1:19 PM, Neil Bothwick <[email protected]> wrote: > On Mon, 24 Dec 2012 13:23:16 -0800, Mark Knecht wrote: > >> I don't like, really don't like, the work that currently goes into >> making my 'init thingy' work. All the Gentoo docs about creating >> hierarchies by hand and populating them with files and then compressing >> it. All that drives me nuts. It should be 100% automatic, and probably >> is with the right tools which I haven't found. > > The right tools are included, and documented, with your kernel. Create a > plain text config file detailing the contents of the initramfs and set > CONFIG_INITRAMFS_SOURCE to the path top this file. That and an init > script are all you need to have the initramfs automatically built with > the current versions of all files when you compile your kernel. > > No messing around with copying files from the main filesystem or calling > arcane incantations involving cpio, "make all" takes care of it all. > > -- > Neil Bothwick
If you have one handy and it's not something huge (I don't think it is but I don't really know) maybe you could post an example of what that file looks like? Thanks, Mark

