[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:
parent
797cc34587
commit
993c00fda5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user