Update LuksBootKeyFileJob.cpp
This commit is contained in:
parent
3bec262d2d
commit
f0fb39edd8
@ -302,6 +302,14 @@ LuksBootKeyFileJob::exec()
|
||||
return Calamares::JobResult::ok();
|
||||
}
|
||||
|
||||
if ( hasUnencryptedSeparateBoot() && hasEncryptedRoot() )
|
||||
{
|
||||
// /boot partition is not encrypted, keyfile must not be used
|
||||
// But only if root partition is encrypted
|
||||
cDebug() << Logger::SubEntry << "/boot partition is not encrypted, skipping keyfile creation.";
|
||||
return Calamares::JobResult::ok();
|
||||
}
|
||||
|
||||
if ( s.devices.first().passphrase.isEmpty() )
|
||||
{
|
||||
cDebug() << Logger::SubEntry << "No root passphrase.";
|
||||
|
Loading…
Reference in New Issue
Block a user