make the default kernel modules name from xx to xx.ko
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10165 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
cf61fd06a6
commit
df15b2793d
@ -169,6 +169,12 @@ foreach (split /,/,$netdriver) {
|
||||
push @ndrivers, $_;
|
||||
}
|
||||
|
||||
foreach (@ndrivers) {
|
||||
unless (/\.ko$/) {
|
||||
s/$/.ko/;
|
||||
}
|
||||
}
|
||||
|
||||
unless ($onlyinitrd) {
|
||||
@yumdirs=();
|
||||
find(\&isyumdir, <$installroot/$osver/$arch/>);
|
||||
|
@ -172,6 +172,12 @@ foreach (split /,/,$netdriver) {
|
||||
}
|
||||
}
|
||||
|
||||
foreach (@ndrivers) {
|
||||
unless (/\.ko$/) {
|
||||
s/$/.ko/;
|
||||
}
|
||||
}
|
||||
|
||||
unless (grep /af_packet/,@ndrivers) {
|
||||
unshift(@ndrivers,"af_packet.ko");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user