summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2020-07-05 21:25:18 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2020-07-05 21:25:18 +0100
commit78815d2b74d48b2419fff275c3aae61b71cabe1c (patch)
tree3dea434be88dd3885bf484d8515bb5fc68e37136
parent90b5c069ddf9c0f204fc392c1cd5325b7455e861 (diff)
downloaddraklive-install-78815d2b74d48b2419fff275c3aae61b71cabe1c.tar
draklive-install-78815d2b74d48b2419fff275c3aae61b71cabe1c.tar.gz
draklive-install-78815d2b74d48b2419fff275c3aae61b71cabe1c.tar.bz2
draklive-install-78815d2b74d48b2419fff275c3aae61b71cabe1c.tar.xz
draklive-install-78815d2b74d48b2419fff275c3aae61b71cabe1c.zip
Disable timeout when running gurpmi2 to install updates.
-rw-r--r--NEWS2
-rwxr-xr-xdraklive-install2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 263a726..1770c82 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- disable timeout when running gurpmi2 to install updates
+
2.25
- add option to install updates
diff --git a/draklive-install b/draklive-install
index b3212c3..592b667 100755
--- a/draklive-install
+++ b/draklive-install
@@ -486,7 +486,7 @@ Do you want to install the updates?")),
};
my $log_file = '/root/drakx/updates.log';
- run_program::rooted($::prefix, 'gurpmi2', '>>', $log_file, '2>>', $log_file, '--auto-select');
+ run_program::raw({ root => $::prefix, timeout => 'never' }, 'gurpmi2', '>>', $log_file, '2>>', $log_file, '--auto-select');
clean_rpmdb_shared_regions();
}