mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
parent
92a2c7aa70
commit
46a2503c87
1 changed files with 3 additions and 2 deletions
|
@ -157,9 +157,9 @@ PartitionCoreModule::doInit()
|
|||
|
||||
// Remove the device which contains / from the list
|
||||
for ( QList< Device* >::iterator it = devices.begin(); it != devices.end(); )
|
||||
if ( *it && ( hasRootPartition( *it ) ||
|
||||
if ( ! (*it) || hasRootPartition( *it ) ||
|
||||
(*it)->deviceNode().startsWith( "/dev/zram") ||
|
||||
isIso9660( *it ) ) )
|
||||
isIso9660( *it ) )
|
||||
it = devices.erase( it );
|
||||
else
|
||||
++it;
|
||||
|
@ -171,6 +171,7 @@ PartitionCoreModule::doInit()
|
|||
m_deviceInfos << deviceInfo;
|
||||
cDebug() << device->deviceNode() << device->capacity() << device->name() << device->prettyName();
|
||||
}
|
||||
cDebug() << ".." << devices.count() << "devices detected.";
|
||||
m_deviceModel->init( devices );
|
||||
|
||||
// The following PartUtils::runOsprober call in turn calls PartUtils::canBeResized,
|
||||
|
|
Loading…
Add table
Reference in a new issue