|
|
@ -55,8 +55,7 @@ CreatePartitionDialog::CreatePartitionDialog( Device* device, PartitionNode* par
|
|
|
|
{
|
|
|
|
{
|
|
|
|
m_ui->setupUi( this );
|
|
|
|
m_ui->setupUi( this );
|
|
|
|
|
|
|
|
|
|
|
|
QStringList mountPoints;
|
|
|
|
QStringList mountPoints = { "/", "/boot", "/home", "/opt", "/usr", "/var" };
|
|
|
|
mountPoints << "/" << "/boot" << "/home" << "/opt" << "/usr" << "/var";
|
|
|
|
|
|
|
|
if ( QDir( "/sys/firmware/efi/efivars" ).exists() )
|
|
|
|
if ( QDir( "/sys/firmware/efi/efivars" ).exists() )
|
|
|
|
mountPoints << Calamares::JobQueue::instance()->globalStorage()->value( "efiSystemPartition" ).toString();
|
|
|
|
mountPoints << Calamares::JobQueue::instance()->globalStorage()->value( "efiSystemPartition" ).toString();
|
|
|
|
mountPoints.removeDuplicates();
|
|
|
|
mountPoints.removeDuplicates();
|
|
|
|