[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:
parent
0030966986
commit
1be81ec3b0
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user