On Tue, August 20, 2013 12:03, Neil Bothwick wrote: > On Tue, 20 Aug 2013 07:44:41 +0200, J. Roeleveld wrote: > >> > The kernel build system can also build the initramfs if you give it >> > the location of the config file. That way the initramfs is built for >> > each kernel, using the currently installed versions of the various >> > tools. >> >> Yes, it's a little bit easier then manually adding a new initramfs. >> But as I update userspace more frequently then the kernel, that would >> still lead to a version discrepency. >> I need to always remember to rebuild the initramfs when a part of >> userspace that sits in the initramfs is updated. An automatic option >> there would be usefull. >> If it were included into the kernel, I would need to rebuild the kernel >> after every update. Just redoing the initramfs is less of a waste of >> CPU. > > Not really, because make is intelligent enough to no bother recompiling > anything for which the source has not changed.
True, but why recompile the kernel just to redo the initramfs? As mentioned, I don't update/recompile the kernel as often. "genkernel" puts the initramfs where it needs to be, kernel-make doesn't. -- Joost