if the osimage.pkgdir isn't set, use the default ///
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6cd038faac
commit
f6317b80b5
@ -203,8 +203,11 @@ unless ($onlyinitrd) {
|
||||
}
|
||||
|
||||
my $ent = $linuximagetab->getAttribs({'imagename' => "$imagename"}, ['pkgdir']);
|
||||
my $pkgdir = $ent->{'pkgdir'};
|
||||
my @pkgdirs = split(",", $pkgdir);
|
||||
my $pkgdir = $ent->{'pkgdir'};
|
||||
if( !defined($pkgdir) ) {
|
||||
$pkgdir = "$installroot/$osver/$arch/";
|
||||
}
|
||||
my @pkgdirs = split(",", $pkgdir);
|
||||
my $dir;
|
||||
foreach $dir (@pkgdirs) {
|
||||
find(\&isyumdir, <$dir/>);
|
||||
|
Loading…
Reference in New Issue
Block a user