Merge pull request #1823 from calamares/boot-partition
[partition] offer /boot also when other EFI partition was specified
This commit is contained in:
commit
be217c6a47
@ -2,7 +2,7 @@
|
|||||||
*
|
*
|
||||||
* SPDX-FileCopyrightText: 2014 Aurélien Gâteau <agateau@kde.org>
|
* SPDX-FileCopyrightText: 2014 Aurélien Gâteau <agateau@kde.org>
|
||||||
* SPDX-FileCopyrightText: 2016 Teo Mrnjavac <teo@kde.org>
|
* SPDX-FileCopyrightText: 2016 Teo Mrnjavac <teo@kde.org>
|
||||||
* SPDX-FileCopyrightText: 2018-2019 Adriaan de Groot <groot@kde.org>
|
* SPDX-FileCopyrightText: 2018-2021 Adriaan de Groot <groot@kde.org>
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
*
|
*
|
||||||
* Calamares is Free Software: see the License-Identifier above.
|
* Calamares is Free Software: see the License-Identifier above.
|
||||||
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user