[partition] Log when an EFI problem has been solved
This commit is contained in:
parent
0f38ee624e
commit
2c297a068f
@ -716,6 +716,8 @@ PartitionCoreModule::updateIsDirty()
|
|||||||
void
|
void
|
||||||
PartitionCoreModule::scanForEfiSystemPartitions()
|
PartitionCoreModule::scanForEfiSystemPartitions()
|
||||||
{
|
{
|
||||||
|
const bool wasEmpty = m_efiSystemPartitions.isEmpty();
|
||||||
|
|
||||||
m_efiSystemPartitions.clear();
|
m_efiSystemPartitions.clear();
|
||||||
|
|
||||||
QList< Device* > devices;
|
QList< Device* > devices;
|
||||||
@ -732,6 +734,11 @@ PartitionCoreModule::scanForEfiSystemPartitions()
|
|||||||
{
|
{
|
||||||
cWarning() << "system is EFI but no EFI system partitions found.";
|
cWarning() << "system is EFI but no EFI system partitions found.";
|
||||||
}
|
}
|
||||||
|
else if ( wasEmpty )
|
||||||
|
{
|
||||||
|
// But it isn't empty anymore, so whatever problem has been solved
|
||||||
|
cDebug() << "system is EFI and new EFI system partition has been found.";
|
||||||
|
}
|
||||||
|
|
||||||
m_efiSystemPartitions = efiSystemPartitions;
|
m_efiSystemPartitions = efiSystemPartitions;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user