mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 01:45:36 -04:00
Keep the EFI system partitions model up to date with reverts.
This commit is contained in:
parent
e91d213872
commit
64498ea71b
1 changed files with 5 additions and 1 deletions
|
@ -391,6 +391,9 @@ PartitionCoreModule::refresh()
|
||||||
updateHasRootMountPoint();
|
updateHasRootMountPoint();
|
||||||
updateIsDirty();
|
updateIsDirty();
|
||||||
m_bootLoaderModel->update();
|
m_bootLoaderModel->update();
|
||||||
|
if ( QDir( "/sys/firmware/efi/efivars" ).exists() )
|
||||||
|
scanForEfiSystemPartitions(); //FIXME: this should be removed in favor of
|
||||||
|
// proper KPM support for EFI
|
||||||
}
|
}
|
||||||
|
|
||||||
void PartitionCoreModule::updateHasRootMountPoint()
|
void PartitionCoreModule::updateHasRootMountPoint()
|
||||||
|
@ -512,6 +515,7 @@ PartitionCoreModule::revertAllDevices()
|
||||||
{
|
{
|
||||||
revertDevice( devInfo->device.data() );
|
revertDevice( devInfo->device.data() );
|
||||||
}
|
}
|
||||||
|
refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -536,7 +540,7 @@ PartitionCoreModule::revertDevice( Device* dev )
|
||||||
|
|
||||||
m_bootLoaderModel->init( devices );
|
m_bootLoaderModel->init( devices );
|
||||||
|
|
||||||
updateIsDirty();
|
refresh();
|
||||||
emit deviceReverted( newDev );
|
emit deviceReverted( newDev );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue