Revert removing check on root with unencrypted boot
This commit is contained in:
parent
5c4557e4d1
commit
def9bf18d3
@ -321,6 +321,12 @@ LuksBootKeyFileJob::exec()
|
|||||||
|
|
||||||
for ( const auto& d : s.devices )
|
for ( const auto& d : s.devices )
|
||||||
{
|
{
|
||||||
|
// Skip setupLuks for root partition if system has an unencrypted /boot
|
||||||
|
if ( d.isRoot && hasUnencryptedSeparateBoot() )
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if ( !setupLuks( d ) )
|
if ( !setupLuks( d ) )
|
||||||
return Calamares::JobResult::error(
|
return Calamares::JobResult::error(
|
||||||
tr( "Encryption setup error" ),
|
tr( "Encryption setup error" ),
|
||||||
|
Loading…
Reference in New Issue
Block a user