[partition] Log names of partition flags, not just a number

This commit is contained in:
Adriaan de Groot 2021-06-18 15:54:51 +02:00
parent bf7eed9342
commit 17cc0470da

View File

@ -144,8 +144,9 @@ SetPartFlagsJob::prettyStatusMessage() const
Calamares::JobResult Calamares::JobResult
SetPartFlagsJob::exec() SetPartFlagsJob::exec()
{ {
cDebug() << "Setting flags on" << m_device->deviceNode() << "partition" << partition()->deviceNode() << "to" QStringList flagsList = PartitionTable::flagNames( m_flags );
<< m_flags; cDebug() << "Setting flags on" << m_device->deviceNode() << "partition" << partition()->deviceNode()
<< Logger::DebugList( flagsList );
Report report( nullptr ); Report report( nullptr );
SetPartFlagsOperation op( *m_device, *partition(), m_flags ); SetPartFlagsOperation op( *m_device, *partition(), m_flags );