-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:
jbjohnso 2008-03-27 13:26:20 +00:00
parent e1990c117d
commit 470712996d

View File

@ -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";