mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
Improve debug output for bootloader code path.
This commit is contained in:
parent
e10034c670
commit
45315e6ae9
3 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue