mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
[welcome] Without libparted, don't even check size available
This commit is contained in:
parent
8cf3c217f7
commit
33bd6c67c0
1 changed files with 3 additions and 4 deletions
|
@ -188,13 +188,12 @@ GeneralRequirements::setConfigurationMap( const QVariantMap& configurationMap )
|
|||
}
|
||||
|
||||
#ifdef WITHOUT_LIBPARTED
|
||||
if ( m_entriesToCheck.contains( "storage" ) )
|
||||
cWarning() << "GeneralRequirements checks 'storage' but libparted is disabled.";
|
||||
if ( m_entriesToRequire.contains( "storage" ) )
|
||||
if ( m_entriesToCheck.contains( "storage" ) || m_entriesToRequire.contains( "storage" ) )
|
||||
{
|
||||
// Warn, but also drop the required bit because otherwise installation
|
||||
// will be impossible (because the check always returns false).
|
||||
cWarning() << "GeneralRequirements requires 'storage' check but libparted is disabled.";
|
||||
cWarning() << "GeneralRequirements checks 'storage' but libparted is disabled.";
|
||||
m_entriesToCheck.removeAll( "storage" );
|
||||
m_entriesToRequire.removeAll( "storage" );
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue