Revert removing check on root with unencrypted boot

This commit is contained in:
abalfoort 2023-05-23 15:07:54 +02:00
parent 5c4557e4d1
commit def9bf18d3

View File

@ -321,6 +321,12 @@ LuksBootKeyFileJob::exec()
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 ) )
return Calamares::JobResult::error(
tr( "Encryption setup error" ),