2010/10/10 Amadeusz Żołnowski <aide...@aidecoe.name>:
> Excerpts from Daniel Drake's message of Sun Oct 10 13:01:05 +0200 2010:
>> /bin/true is 23kb, bigger than rmmod itself!
>
> Yes, I know…  It was supposed to be temporary workaround only… :-)

What's the longer term solution?

> Hm… you're right to some extent.  udev seems not to complain about
> missing modprobe.  Although there are few usages of modprobe in some
> Dracut modules.

We could add an early hook (which only gets installed in the
ignore-kernel-modules case) which defines modprobe as a shell
function:

modprobe()
{
    return 0
}

Actually, this should be even simpler:

alias modprobe=true

(in this case, true is used an inbuilt shell command -- not the one in
/bin, which we won't need or use)

What do you think?

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

Reply via email to