mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 02:45:37 -04:00
[partition] Make mountPoint optional
Some devices cannot be mounted (as DM_verity_hash), therefore, it is nosense to set a mountPoint for them.
This commit is contained in:
parent
486cdaeeb6
commit
1f9f506a16
2 changed files with 2 additions and 3 deletions
|
@ -134,8 +134,7 @@ PartitionLayout::init( const QVariantList& config )
|
|||
{
|
||||
QVariantMap pentry = r.toMap();
|
||||
|
||||
if ( !pentry.contains( "name" ) || !pentry.contains( "mountPoint" ) || !pentry.contains( "filesystem" )
|
||||
|| !pentry.contains( "size" ) )
|
||||
if ( !pentry.contains( "name" ) || !pentry.contains( "filesystem" ) || !pentry.contains( "size" ) )
|
||||
{
|
||||
cError() << "Partition layout entry #" << config.indexOf( r )
|
||||
<< "lacks mandatory attributes, switching to default layout.";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue