From d4f537e501e8c31fbb5c54d442388f39a4914285 Mon Sep 17 00:00:00 2001 From: mxi1 Date: Wed, 24 Mar 2010 08:47:35 +0000 Subject: [PATCH] =bug 2975712 is fixed; genimage cannot get the package in the .pkglist file git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/sles/genimage | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index 01c10e7c9..d49b8123e 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -202,8 +202,8 @@ unless ($osver and $profile and $netdriver and $prinic) { print "Examples:\n"; print " genimage -i eth0 -n tg3 -o centos5.1 -p compute\n"; print " genimage -i eth0 -r eth1,eth2 -n tg3,bnx2 -o centos5.1 -p compute\n"; - print " genimage -i eth0 -n tg3,bnx2 -o centos5.1 -p compute -p nfsroot -m statelite\n"; - print " genimage -i eth0 -n tg3,bnx2 -o centos5.1 -p compute -p nfsroot -m statelite --permission 777\n"; + print " genimage -i eth0 -n tg3,bnx2 -o centos5.1 -p compute -m statelite\n"; + print " genimage -i eth0 -n tg3,bnx2 -o centos5.1 -p compute -m statelite --permission 777\n"; print " genimage -i eth0 -ntg3 myimagename\n"; exit 1; } @@ -363,7 +363,7 @@ unless ($onlyinitrd) { $pkgnames = ""; foreach (keys(%{$pkg_hash{$pass}})) { if (($_ eq "PRE_REMOVE") || ($_ eq "POST_REMOVE")) { next;} - my $pa=$pkg_hash{$_}; + my $pa=$pkg_hash{$pass}{$_}; $pkgnames .= " " . join(' ', @$pa); } #print "$yumcmd $pkgnames\n";