mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
Update LuksBootKeyFileJob.cpp
This commit is contained in:
parent
3bec262d2d
commit
f0fb39edd8
1 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue