Skip to content
Snippets Groups Projects
Commit c83e67b4 authored by Teo Mrnjavac's avatar Teo Mrnjavac
Browse files

Always declare whether a partition is LUKS in the map.

parent cd304b7a
No related branches found
No related tags found
No related merge requests found
......@@ -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" ];
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment