add option --ignore-kernel-modules
commit0ca3a5ee849614e85241274d24380f3eabd73b78
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>
Wed, 4 Aug 2010 16:15:19 +0000 (4 18:15 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 4 Aug 2010 16:30:03 +0000 (4 18:30 +0200)
treeaf3ad34277e24eb7e3d9db84e921465902730425
parent62f8a2b63cdf71e70a6ba723fce869ea769d01ad
add option --ignore-kernel-modules

Instead of adding modprobe and rmmod, create symlinks to /bin/true to
don't produce unnecessary errors.  Anyway it's a workaround for
following desired behaviour: modprobe tries to insert module only if
it's not built into kernel
dracut
dracut.8
modules.d/99base/install