[partition] Name partition using filesystem label

This commit is contained in:
Gaël PORTAY 2020-03-18 17:11:05 -04:00
parent 2eb84e2de1
commit cba4d2e93b
2 changed files with 4 additions and 1 deletions

View file

@ -237,6 +237,7 @@ PartitionLayout::execute( Device* dev,
PartitionInfo::setMountPoint( currentPartition, part.partMountPoint );
if ( !part.partLabel.isEmpty() )
{
currentPartition->setLabel( part.partLabel );
currentPartition->fileSystem().setLabel( part.partLabel );
}
// Some buggy (legacy) BIOSes test if the bootflag of at least one partition is set.