[partition] Add /srv to standard mount-points list.

This commit is contained in:
Adriaan de Groot 2018-05-15 08:06:45 -04:00
parent 4402198b37
commit 310555f16b

View File

@ -31,7 +31,7 @@
QStringList QStringList
standardMountPoints() standardMountPoints()
{ {
QStringList mountPoints{ "/", "/boot", "/home", "/opt", "/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();
mountPoints.removeDuplicates(); mountPoints.removeDuplicates();