[initramfs] Log what kernel will be passed to update-initramfs

This commit is contained in:
Adriaan de Groot 2019-06-24 16:37:58 +02:00
parent a2d7fdcb8a
commit 6ae8bd82fa

View File

@ -40,6 +40,7 @@ InitramfsJob::prettyName() const
Calamares::JobResult Calamares::JobResult
InitramfsJob::exec() InitramfsJob::exec()
{ {
cDebug() << "Updating initramfs with kernel" << m_kernel;
auto r = CalamaresUtils::System::instance()->targetEnvCommand( 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(), 10 );
return r.explainProcess( "update-initramfs", 10 ); return r.explainProcess( "update-initramfs", 10 );