Merge pull request #1905 from santoshmahto7/santo/avoid-root-naming

Avoid setting rootfs partition name to "root" by default.
This commit is contained in:
Adriaan de Groot 2022-03-18 13:51:33 +01:00 committed by GitHub
commit fa28999561
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -976,10 +976,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(