Update to KPMcore LUKS' API changes
This commit is contained in:
parent
39c9f82c9c
commit
9afa2935cd
@ -98,7 +98,7 @@ mapForPartition( Partition* partition, const QString& uuid )
|
|||||||
const FS::luks* luksFs = dynamic_cast< const FS::luks* >( &fsRef );
|
const FS::luks* luksFs = dynamic_cast< const FS::luks* >( &fsRef );
|
||||||
if ( luksFs )
|
if ( luksFs )
|
||||||
{
|
{
|
||||||
map[ "luksMapperName" ] = luksFs->mapperName( partition->partitionPath() ).split( "/" ).last();
|
map[ "luksMapperName" ] = luksFs->mapperName().split( "/" ).last();
|
||||||
map[ "luksUuid" ] = getLuksUuid( partition->partitionPath() );
|
map[ "luksUuid" ] = getLuksUuid( partition->partitionPath() );
|
||||||
map[ "luksPassphrase" ] = luksFs->passphrase();
|
map[ "luksPassphrase" ] = luksFs->passphrase();
|
||||||
cDebug() << "luksMapperName:" << map[ "luksMapperName" ];
|
cDebug() << "luksMapperName:" << map[ "luksMapperName" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user