Module: check_mk
Branch: master
Commit: d7977133cbec8dc10108f6c6a01557424d3107b1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d7977133cbec8d…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Dec 21 13:51:45 2017 +0100
Bump time limit, allowing builds even on slow embedded systems. (part 2)
Change-Id: I72ea6727b79aac72579b9e7a82cce4a1eb2dbfb0
---
omd/packages/perl-modules/lib/BuildHelper.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/omd/packages/perl-modules/lib/BuildHelper.pm
b/omd/packages/perl-modules/lib/BuildHelper.pm
index 9633f3c..5c6b6fe 100644
--- a/omd/packages/perl-modules/lib/BuildHelper.pm
+++ b/omd/packages/perl-modules/lib/BuildHelper.pm
@@ -466,7 +466,7 @@ sub install_module {
system("grep 'is installed, but we need version' $LOG | grep ' !
' | $grepv"); # or die('dependency error');
system("grep 'is not a known MakeMaker parameter' $LOG | grep
INSTALL_BASE | $grepv") or die('build error');
chdir($cwd);
- if($duration > 60) {
+ if($duration > 1100) {
chomp(my $pwd = `pwd`);
print "installation took too long, see $pwd/$dir/$LOG for details\n";
} else {
@@ -489,7 +489,7 @@ sub get_meta_for_dir {
# create Makefile
my $cwd = cwd();
chdir($dir);
- alarm(120);
+ alarm(1200);
eval {
cmd("yes n | perl Makefile.PL", 1) if -e 'Makefile.PL';
cmd("yes n | perl Build.PL", 1) if -e 'Build.PL';