strip ".ko" from the ndriver name

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mxi1 2010-07-07 10:12:01 +00:00
parent 29142db40a
commit a837a444e8

View File

@ -491,6 +491,8 @@ sub mkinitrd_dracut {
cp("$fullpath/dracut/check", $dracutmpath);
chmod($perm&07777, "$dracutmpath/check");
foreach (@ndrivers) { s/\.ko$//; }
my $add_drivers = join(' ', @ndrivers);
my $DRACUTCONF;