Remove wacky "sysbuild" filtering

It's none of our business if a jobset wants to return a build that
uses a build for another system as an input...
This commit is contained in:
Eelco Dolstra 2013-09-24 16:14:05 +02:00
parent b1e29e50a7
commit 2d7e106d29

View file

@ -282,17 +282,6 @@ sub evalJobs {
SuppressEmpty => '') SuppressEmpty => '')
or die "cannot parse XML output"; or die "cannot parse XML output";
my @filteredJobs = ();
foreach my $job (@{$jobs->{job}}) {
my $validJob = 1;
foreach my $arg (@{$job->{arg}}) {
my $input = $inputInfo->{$arg->{name}}->[$arg->{altnr}];
$validJob = 0 if $input->{type} eq "sysbuild" && $input->{system} ne $job->{system};
}
push(@filteredJobs, $job) if $validJob;
}
$jobs->{job} = \@filteredJobs;
return ($jobs, $nixExprInput); return ($jobs, $nixExprInput);
} }