Improve debug output for bootloader code path.
This commit is contained in:
parent
32402eeafa
commit
2082fff1d2
@ -441,6 +441,7 @@ PartitionCoreModule::jobs() const
|
||||
lst << info->jobs;
|
||||
devices << info->device.data();
|
||||
}
|
||||
cDebug() << "Creating FillGlobalStorageJob with bootLoader path" << m_bootLoaderInstallPath;
|
||||
lst << Calamares::job_ptr( new FillGlobalStorageJob( devices, m_bootLoaderInstallPath ) );
|
||||
|
||||
|
||||
@ -596,6 +597,7 @@ PartitionCoreModule::findPartitionByMountPoint( const QString& mountPoint ) cons
|
||||
void
|
||||
PartitionCoreModule::setBootLoaderInstallPath( const QString& path )
|
||||
{
|
||||
cDebug() << "PCM::setBootLoaderInstallPath" << path;
|
||||
m_bootLoaderInstallPath = path;
|
||||
}
|
||||
|
||||
|
@ -291,6 +291,7 @@ PartitionPage::updateBootLoaderInstallPath()
|
||||
QVariant var = m_ui->bootLoaderComboBox->currentData( BootLoaderModel::BootLoaderPathRole );
|
||||
if ( !var.isValid() )
|
||||
return;
|
||||
qDebug() << "PartitionPage::updateBootLoaderInstallPath" << var.toString();
|
||||
m_core->setBootLoaderInstallPath( var.toString() );
|
||||
}
|
||||
|
||||
|
@ -198,10 +198,12 @@ FillGlobalStorageJob::exec()
|
||||
QVariant var = createBootLoaderMap();
|
||||
if ( !var.isValid() )
|
||||
cDebug() << "Failed to find path for boot loader";
|
||||
cDebug() << "FillGlobalStorageJob writing bootLoader path:" << var;
|
||||
storage->insert( "bootLoader", var );
|
||||
}
|
||||
else
|
||||
{
|
||||
cDebug() << "FillGlobalStorageJob writing empty bootLoader value";
|
||||
storage->insert( "bootLoader", QVariant() );
|
||||
}
|
||||
return Calamares::JobResult::ok();
|
||||
|
Loading…
Reference in New Issue
Block a user