[initramfs] Bump the timeout much higher

- Use 120 seconds for update-initramfs, instead of 10. Previous
   Python code had no timeout at all, which wasn't so hot either.
   10 seconds, though, is too short for slow CPU & slow disk.
This commit is contained in:
Adriaan de Groot 2019-07-03 21:20:08 +02:00
parent 0030966986
commit 1be81ec3b0

View File

@ -45,7 +45,7 @@ InitramfsJob::exec()
cDebug() << "Updating initramfs with kernel" << m_kernel;
auto r = CalamaresUtils::System::instance()->targetEnvCommand(
{ "update-initramfs", "-k", m_kernel, "-c", "-t" }, QString(), QString(), 10 );
{ "update-initramfs", "-k", m_kernel, "-c", "-t" }, QString(), QString(), 120 );
return r.explainProcess( "update-initramfs", 10 );
}