[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 60f8a7c5fb
This commit is contained in:
Philip Müller 2021-11-09 01:44:34 +01:00
parent 3fba6cf57e
commit 21641bd2a2

View File

@ -23,15 +23,11 @@
QStringList
standardMountPoints()
{
QStringList mountPoints { "/", "/home", "/opt", "/srv", "/usr", "/var" };
QStringList mountPoints { "/", "/boot", "/home", "/opt", "/srv", "/usr", "/var" };
if ( PartUtils::isEfiSystem() )
{
mountPoints << Calamares::JobQueue::instance()->globalStorage()->value( "efiSystemPartition" ).toString();
}
else
{
mountPoints << QStringLiteral( "/boot" );
}
mountPoints.removeDuplicates();
mountPoints.sort();
return mountPoints;