Always declare whether a partition is LUKS in the map.

This commit is contained in:
Teo Mrnjavac 2016-05-05 13:31:31 +02:00
parent cd304b7a6f
commit c83e67b421

View File

@ -87,6 +87,7 @@ mapForPartition( Partition* partition, const QString& uuid )
map[ "mountPoint" ] = PartitionInfo::mountPoint( partition );
map[ "fs" ] = partition->fileSystem().name();
map[ "uuid" ] = uuid;
map[ "isLuks" ] = false;
cDebug() << partition->partitionPath()
<< "mtpoint:" << PartitionInfo::mountPoint( partition )
<< "fs:" << partition->fileSystem().name()
@ -100,6 +101,7 @@ mapForPartition( Partition* partition, const QString& uuid )
{
map[ "luksMapperName" ] = luksFs->suggestedMapperName( partition->partitionPath() );
map[ "luksUuid" ] = getLuksUuid( partition->partitionPath() );
map[ "isLuks" ] = true;
cDebug() << "luksMapperName:" << map[ "luksMapperName" ];
}
}