Hi, Is there any specific reason why the initramfs is built as one of the first things in the kernel built process? I want to include some modules in my initramfs, and since it is built early that doesn't really work out well. johannes
Johannes Berg wrote:> Hi, > > Is there any specific reason why the initramfs is built as one of the > first things in the kernel built process? > I want to include some modules in my initramfs, and since it is built > early that doesn't really work out well. >Probably because there aren't any dependencies for that built into the Kbuild rules. Note that the initramfs doesn't have to be linked into the kernel; it can also be loaded using initrd protocol. -hpa
On Mon, May 16, 2005 at 11:47:51PM +0200, Johannes Berg wrote:> Hi, > > Is there any specific reason why the initramfs is built as one of the > first things in the kernel built process? > I want to include some modules in my initramfs, and since it is built > early that doesn't really work out well.Today there is no way to tell kbuild to build all modules before linking initramfs. initramfs is built as part of the 'make kernel' step, which does not require the modules to be built. Sam