Harden check for used modules in hostonly mode
commit62f8a2b63cdf71e70a6ba723fce869ea769d01ad
authorAndrey Borzenkov <arvidjaar@mail.ru>
Sun, 9 May 2010 18:23:58 +0000 (9 22:23 +0400)
committerHarald Hoyer <harald@redhat.com>
Wed, 4 Aug 2010 16:30:02 +0000 (4 18:30 +0200)
tree2e7e6a0854fca6582234a9cda72ffd24f97dcc1b
parenta0342347e9241cd1899404131e196043931054f4
Harden check for used modules in hostonly mode

Make sure that we do not accept module name which is substring of
some other module name. This resulted in piix being mistakenly loaded
together with ata_piix. It completely broke DVD access here.

Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
dracut-functions