-Have geninitrd do less, as would be expected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e1990c117d
commit
470712996d
@ -56,6 +56,7 @@ foreach (split /,/,$netdriver) {
|
||||
}
|
||||
|
||||
my $installroot = "/install";
|
||||
unless ($onlyinitrd) {
|
||||
my $srcdir = "$installroot/$osver/$arch";
|
||||
@yumdirs=();
|
||||
find(\&isyumdir, <$installroot/$osver/$arch/>);
|
||||
@ -98,7 +99,6 @@ while (<$yumconfig>) {
|
||||
$yumcmd .= $_ . " ";
|
||||
}
|
||||
$yumcmd =~ s/ $/\n/;
|
||||
unless ($onlyinitrd) {
|
||||
my $rc = system($yumcmd);
|
||||
if ($rc) {
|
||||
print "yum invocation failed\n";
|
||||
|
Loading…
Reference in New Issue
Block a user