diff --git a/source-checker.pl b/source-checker.pl index e161da44..6d952fef 100644 --- a/source-checker.pl +++ b/source-checker.pl @@ -21,8 +21,8 @@ if (-f "$dir/_service") { my $service = XMLin("$dir/_service", ForceArray => ['service']); while( my ($name, $s) = each %{$service->{service}} ) { my $mode = $s->{mode} || ''; - next if ($mode eq "localonly" || $mode eq "disabled"); - print "Services are only allowed if they are mode='localonly'. Please change the mode of $name and use osc service localrun\n"; + next if ($mode eq "localonly" || $mode eq "disabled" || $mode eq "buildtime"); + print "Services are only allowed if they are mode='localonly', 'disabled' or 'buildtime'. Please change the mode of $name and use osc service localrun\n"; $ret = 1; } # move it away to have full service from source validator