From 470712996d53d6117eaffa7bfa638f33ad43acdb Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 27 Mar 2008 13:26:20 +0000 Subject: [PATCH] -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 --- xCAT-server-2.0/share/xcat/netboot/rh/genimage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server-2.0/share/xcat/netboot/rh/genimage b/xCAT-server-2.0/share/xcat/netboot/rh/genimage index 0e8de47c7..949de4658 100755 --- a/xCAT-server-2.0/share/xcat/netboot/rh/genimage +++ b/xCAT-server-2.0/share/xcat/netboot/rh/genimage @@ -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";