16 lines
632 B
Diff
16 lines
632 B
Diff
|
--- calamares-3.2.32.1/src/modules/partition/core/PartitionLayout.cpp.orig 2020-11-07 18:42:24.546000000 +0100
|
||
|
+++ calamares-3.2.32.1/src/modules/partition/core/PartitionLayout.cpp 2020-11-07 18:54:28.790000000 +0100
|
||
|
@@ -283,6 +283,12 @@
|
||
|
size = availableSize;
|
||
|
}
|
||
|
|
||
|
+ if ( availableSize < 5 * 1024 * 1024) {
|
||
|
+ cWarning() << "Partition" << part.partMountPoint << "available size"
|
||
|
+ << "is insufficient to add partition, skipping...";
|
||
|
+ continue;
|
||
|
+ }
|
||
|
+
|
||
|
end = firstSector + std::max( size - 1, Q_INT64_C( 0 ) );
|
||
|
|
||
|
if ( luksPassphrase.isEmpty() )
|