[partition] Remove setState call to resolve compat issue with older kpmcore
This commit is contained in:
parent
ece1e338e0
commit
f5b882a075
@ -77,7 +77,6 @@ createZfs( Partition* partition, Device* device )
|
|||||||
}
|
}
|
||||||
|
|
||||||
partition->setPartitionPath( deviceNode );
|
partition->setPartitionPath( deviceNode );
|
||||||
partition->setState( Partition::State::None );
|
|
||||||
|
|
||||||
// If it is a gpt device, set the partition UUID
|
// If it is a gpt device, set the partition UUID
|
||||||
if ( device->partitionTable()->type() == PartitionTable::gpt && partition->uuid().isEmpty() )
|
if ( device->partitionTable()->type() == PartitionTable::gpt && partition->uuid().isEmpty() )
|
||||||
|
Loading…
Reference in New Issue
Block a user