On Thu, 2009-02-12 at 12:18 +0100, Karel Zak wrote: > On Wed, Feb 11, 2009 at 08:35:21PM -0600, Victor Lowther wrote: > > On Wed, Feb 11, 2009 at 6:21 PM, Karel Zak <kzak@xxxxxxxxxx> wrote: > > > > > > I know, that's nit-picking, but I cannot resist ;-) > > > > > > On Wed, Feb 11, 2009 at 03:41:56PM -0800, Victor Lowther wrote: > > >> +find_binary() { > > >> + local binpath="/bin /sbin /usr/bin /usr/sbin" p > > btw, what when you want to generate initramfs from a different set of > utils than you have in your standard system? What about to support > something like > > dracut --prefix=/usr/local > > or follow $PATH rather than hardcode paths to the dracut script. The reason I hardcoded it was to reduce errors because of administrators doing stupid things with $PATH. The other piece of functionality I am thinking about is how to tell dracut that you should use $wherever as the place to start your searches at for files to put on to the initrd. It may be easier to modularize the binary installation code -- package up the current stuff in a separate file we can source, call it the default method, and let folks who are keen on busybox or klibc or whatever write their own method that overrides the default one. > Karel > -- Victor Lowther RHCE# 805008539634727 LPIC-2# LPI000140019 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html