Skip to content
Snippets Groups Projects
Commit 993c00fd authored by Philip Müller's avatar Philip Müller
Browse files

[partition] offer /boot also when other EFI partition was specified

- it still makes sense to offer /boot in EFI
- example: /boot ext4, /boot/efi vfat
- this partly reverts 60f8a7c5
parent 797cc345
No related branches found
No related tags found
No related merge requests found
...@@ -23,15 +23,11 @@ ...@@ -23,15 +23,11 @@
QStringList QStringList
standardMountPoints() standardMountPoints()
{ {
QStringList mountPoints { "/", "/home", "/opt", "/srv", "/usr", "/var" }; QStringList mountPoints { "/", "/boot", "/home", "/opt", "/srv", "/usr", "/var" };
if ( PartUtils::isEfiSystem() ) if ( PartUtils::isEfiSystem() )
{ {
mountPoints << Calamares::JobQueue::instance()->globalStorage()->value( "efiSystemPartition" ).toString(); mountPoints << Calamares::JobQueue::instance()->globalStorage()->value( "efiSystemPartition" ).toString();
} }
else
{
mountPoints << QStringLiteral( "/boot" );
}
mountPoints.removeDuplicates(); mountPoints.removeDuplicates();
mountPoints.sort(); mountPoints.sort();
return mountPoints; return mountPoints;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment