fix epkg parsing in otherpkgs

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2012-05-11 12:16:17 +00:00
parent fc0047db9e
commit 778ccc9e03

View File

@ -2036,7 +2036,6 @@ sub chkosimage
}
}
# get installp filesets in this dir
my $icmd = qq~installp -L -d $instp_srcdir | /usr/bin/cut -f2 -d':' 2>/dev/null~;
my @ilist = xCAT::Utils->runcmd("$icmd", -1);
@ -11341,7 +11340,6 @@ sub checkNIMnetworks
Also does the NIM setup for additional networks if necessary.
Arguments:
Returns:
0 - OK
@ -13438,13 +13436,17 @@ sub parse_otherpkgs
}
push @rpm_pkgs, $pname;
}
elsif (($p =~ /epkg\.Z/))
# ndebug
elsif (($p =~ /epkg\.Z/) || ($p =~ /^E:/))
{
if ($p =~ /:/)
{
($junk, $pname) = split(/:/, $p);
} else {
$pname = $p;
}
push @epkgs, $p;
push @epkgs, $pname;
}
else
{