[partition] Make debug-logging match the functionality
- `createPartitionList()` is called for the summary widget (via `prettyDescription()`), and from `exec()`. Only the latter actually *writes* to Global Storage, so it's misleading to think that the pretty-printed version ends up in GS. - This makes the "new" key useless, since by the time `exec()` is called the partitoons are no longer new.
This commit is contained in:
parent
f9d9cd2df4
commit
35a2db064b
@ -214,6 +214,7 @@ FillGlobalStorageJob::exec()
|
||||
{
|
||||
Calamares::GlobalStorage* storage = Calamares::JobQueue::instance()->globalStorage();
|
||||
storage->insert( "partitions", createPartitionList() );
|
||||
cDebug() << "Saving partition information map to GlobalStorage[\"partitions\"]";
|
||||
if ( !m_bootLoaderPath.isEmpty() )
|
||||
{
|
||||
QVariant var = createBootLoaderMap();
|
||||
@ -237,7 +238,7 @@ FillGlobalStorageJob::createPartitionList() const
|
||||
{
|
||||
UuidForPartitionHash hash = findPartitionUuids( m_devices );
|
||||
QVariantList lst;
|
||||
cDebug() << "Writing to GlobalStorage[\"partitions\"]";
|
||||
cDebug() << "Building partition information map";
|
||||
for ( auto device : m_devices )
|
||||
{
|
||||
cDebug() << Logger::SubEntry << "partitions on" << device->deviceNode();
|
||||
|
Loading…
Reference in New Issue
Block a user