Fixing a problem in buildkit to allow multiple genimage_postinstall scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
a665a4ebc3
commit
5c077303c7
@ -1330,11 +1330,14 @@ sub validate_bldkitconf
|
||||
}
|
||||
}
|
||||
if (defined($kc->{genimage_postinstall})){
|
||||
my $ck_file = $::workdir."/scripts/".$kc->{genimage_postinstall};
|
||||
foreach my $script (split(/\,/, $kc->{genimage_postinstall})){
|
||||
$script =~ s/\s+//g;
|
||||
my $ck_file = $::workdir."/scripts/".$script;
|
||||
if (! -r $ck_file ) {
|
||||
print "genimage_postinstall script $ck_file defined in Kit Componenet \"$kc->{basename}\" does not exist or is not readable\n";
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (defined($kc->{postbootscripts})){
|
||||
foreach my $script (split(/\,/, $kc->{postbootscripts})){
|
||||
|
Loading…
Reference in New Issue
Block a user