Avoid setting rootfs partition name to "root" by default.

By default, calamares renames the label of root partition
to "root" overriding the name specified in partiton.conf

Signed-off-by: Santosh Mahto <santosh.mahto@collabora.com>
This commit is contained in:
Santosh Mahto 2022-03-08 16:18:45 +05:30
parent 7aafeec2cb
commit 4b905d5b52

View file

@ -982,10 +982,6 @@ PartitionCoreModule::layoutApply( Device* dev,
{
part->setLabel( "boot" );
}
if ( is_root( part ) )
{
part->setLabel( "root" );
}
if ( ( separate_boot_partition && is_boot( part ) ) || ( !separate_boot_partition && is_root( part ) ) )
{
createPartition(