Pick up some older MRs that apply to the older branch.
}
if ( !m_partLayout->addEntry( CalamaresUtils::getString( pentry, "name" ),
+ CalamaresUtils::getString( pentry, "uuid" ),
CalamaresUtils::getString( pentry, "type" ),
+ CalamaresUtils::getUnsignedInteger( pentry, "attributes", 0 ),
CalamaresUtils::getString( pentry, "mountPoint" ),
CalamaresUtils::getString( pentry, "filesystem" ),
CalamaresUtils::getSubMap( pentry, "features", ok ),
bool
PartitionLayout::addEntry( const QString& label,
+ const QString& uuid,
const QString& type,
+ quint64 attributes,
const QString& mountPoint,
const QString& fs,
const QVariantMap& features,
}
entry.partLabel = label;
+ entry.partUUID = uuid;
entry.partType = type;
+ entry.partAttributes = attributes;
entry.partMountPoint = mountPoint;
PartUtils::findFS( fs, &entry.partFileSystem );
if ( entry.partFileSystem == FileSystem::Unknown )
struct PartitionEntry
{
QString partLabel;
+ QString partUUID;
QString partType;
+ quint64 partAttributes;
QString partMountPoint;
FileSystem::Type partFileSystem = FileSystem::Unknown;
QVariantMap partFeatures;
const QString& min = QString(),
const QString& max = QString() );
bool addEntry( const QString& label,
+ const QString& uuid,
const QString& type,
+ quint64 attributes,
const QString& mountPoint,
const QString& fs,
const QVariantMap& features,
# - name: filesystem label
# and
# partition name (gpt only; since KPMCore 4.2.0)
+ # - uuid: partition uuid (optional parameter; gpt only; requires KPMCore >= 4.2.0)
# - type: partition type (optional parameter; gpt only; requires KPMCore >= 4.2.0)
+# - attributes: partition attributes (optional parameter; gpt only; requires KPMCore >= 4.2.0)
# - filesystem: filesystem type
# - mountPoint: partition mount point
# - size: partition size in bytes (append 'K', 'M' or 'G' for KiB, MiB or GiB)