mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
Merge remote-tracking branch 'origin/master' into calamares
Pick up some older MRs that apply to the older branch.
This commit is contained in:
commit
e3b8570d61
6 changed files with 14 additions and 0 deletions
|
@ -118,6 +118,7 @@ PartitionLayout::addEntry( const QString& mountPoint, const QString& size, const
|
|||
|
||||
bool
|
||||
PartitionLayout::addEntry( const QString& label,
|
||||
const QString& uuid,
|
||||
const QString& type,
|
||||
quint64 attributes,
|
||||
const QString& mountPoint,
|
||||
|
@ -141,6 +142,7 @@ PartitionLayout::addEntry( const QString& label,
|
|||
}
|
||||
|
||||
entry.partLabel = label;
|
||||
entry.partUUID = uuid;
|
||||
entry.partType = type;
|
||||
entry.partAttributes = attributes;
|
||||
entry.partMountPoint = mountPoint;
|
||||
|
@ -246,6 +248,10 @@ PartitionLayout::execute( Device* dev,
|
|||
currentPartition->setLabel( part.partLabel );
|
||||
currentPartition->fileSystem().setLabel( part.partLabel );
|
||||
}
|
||||
if ( !part.partUUID.isEmpty() )
|
||||
{
|
||||
currentPartition->setUUID( part.partUUID );
|
||||
}
|
||||
if ( !part.partType.isEmpty() )
|
||||
{
|
||||
#if defined( WITH_KPMCORE42API )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue