[partition] use configured default filesystem type instead of ext4

When using the default partition layout (only a `/` partition), the
filesystem used was ext4, ignoring the `defaultFileSystemType`
configuration option.

This commit fixes this bug, so that any supported filesystem can now be
used for the default partitioning scheme.

Fixes #1093

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
This commit is contained in:
Arnaud Ferraris 2019-02-22 12:58:55 +01:00
parent 3ea6c6cfbe
commit 586cb63ef5
2 changed files with 22 additions and 1 deletions

View file

@ -76,6 +76,7 @@ public:
QList< Partition* > execute( Device *dev, qint64 firstSector, qint64 lastSector, QString luksPassphrase, PartitionNode* parent, const PartitionRole& role );
private:
int defaultFsType;
QList< PartitionEntry > partLayout;
};