]> git.ipfire.org Git - thirdparty/dracut.git/commit
omit drivers fix
authordyoung@redhat.com <dyoung@redhat.com>
Thu, 8 Aug 2013 06:05:02 +0000 (14:05 +0800)
committerHarald Hoyer <harald@redhat.com>
Fri, 9 Aug 2013 12:13:30 +0000 (14:13 +0200)
commitbeb26a084794a4bc8baffc8384cb8e41844f89f9
treebf825cae1f97455f8e3ca820c9a778e359b27c78
parente84d115b93428bf93e82a2c808721aadc048b163
omit drivers fix

Because omit_drivers list use underline always, so when maching with it
the _mod need to be converted as well or sometimes omit-drivers will fail
silently.

Fix this by replace '-' with '_' in instmods function.

Signed-off-by: Dave Young <dyoung@redhat.com>
dracut-functions.sh