Skip to contentSkip to conversation

installing modules from outside of /

DISCUSSION Daniel Drake 1 participant 1 message Jul 16, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

dracut-functions instmods() seems to only look for modules in /lib/modules/$kernel

In the case of OLPC, we are hoping to build the dracut initramfs in the %install part of our kernel RPM package. That way, the target systems do not need to have dracut installed in order to install the kernel/initramfs -- avoiding a huge pile of dependencies including cryptsetup, device-mapper, etc. This was suggested by Harald.

In this particular scenario, the modules we'd want to include in the initramfs are not at /lib/modules/$kernel. They are at $RPM_BUILD_ROOT/lib/modules/$kernel

Can dracut be extended to work in this situation?

Thanks,
Daniel

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html