mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
Always declare whether a partition is LUKS in the map.
This commit is contained in:
parent
cd304b7a6f
commit
c83e67b421
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,7 @@ mapForPartition( Partition* partition, const QString& uuid )
|
||||||
map[ "mountPoint" ] = PartitionInfo::mountPoint( partition );
|
map[ "mountPoint" ] = PartitionInfo::mountPoint( partition );
|
||||||
map[ "fs" ] = partition->fileSystem().name();
|
map[ "fs" ] = partition->fileSystem().name();
|
||||||
map[ "uuid" ] = uuid;
|
map[ "uuid" ] = uuid;
|
||||||
|
map[ "isLuks" ] = false;
|
||||||
cDebug() << partition->partitionPath()
|
cDebug() << partition->partitionPath()
|
||||||
<< "mtpoint:" << PartitionInfo::mountPoint( partition )
|
<< "mtpoint:" << PartitionInfo::mountPoint( partition )
|
||||||
<< "fs:" << partition->fileSystem().name()
|
<< "fs:" << partition->fileSystem().name()
|
||||||
|
@ -100,6 +101,7 @@ mapForPartition( Partition* partition, const QString& uuid )
|
||||||
{
|
{
|
||||||
map[ "luksMapperName" ] = luksFs->suggestedMapperName( partition->partitionPath() );
|
map[ "luksMapperName" ] = luksFs->suggestedMapperName( partition->partitionPath() );
|
||||||
map[ "luksUuid" ] = getLuksUuid( partition->partitionPath() );
|
map[ "luksUuid" ] = getLuksUuid( partition->partitionPath() );
|
||||||
|
map[ "isLuks" ] = true;
|
||||||
cDebug() << "luksMapperName:" << map[ "luksMapperName" ];
|
cDebug() << "luksMapperName:" << map[ "luksMapperName" ];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue