create the KERNELDIR for ospkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13349 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -464,7 +464,7 @@ sub makescript | ||||
|         (my $ref1) = | ||||
|           $linuximagetab->getAttribs({imagename => $provmethod}, | ||||
|                                      'pkglist', 'pkgdir', 'otherpkglist', | ||||
|                                      'otherpkgdir'); | ||||
|                                      'otherpkgdir', 'kerneldir'); | ||||
|         if ($ref1) | ||||
|         { | ||||
|             if ($ref1->{'pkglist'}) | ||||
| @@ -486,6 +486,11 @@ sub makescript | ||||
|                     push @scriptd, "export OTHERPKGDIR\n"; | ||||
|                 } | ||||
|             } | ||||
|             if ($ref1->{'kerneldir'}) | ||||
|             { | ||||
|                 push @scriptd, "KERNELDIR=" . $ref1->{'kerneldir'} . "\n"; | ||||
|                 push @scriptd, "export KERNELDIR\n"; | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|     else | ||||
|   | ||||
		Reference in New Issue
	
	Block a user