[libcalamares] Be more verbose when the requirements check is done

main
Adriaan de Groot 5 years ago
parent f35fab24ac
commit abe558f127

@ -96,13 +96,16 @@ RequirementsModel::roleNames() const
void
RequirementsModel::describe() const
{
cDebug() << "Requirements model has" << m_requirements.count() << "items";
bool acceptable = true;
int count = 0;
for ( const auto& r : m_requirements )
{
cDebug() << Logger::SubEntry << "requirement" << count << r.name
<< "satisfied?" << r.satisfied
<< "mandatory?" << r.mandatory;
if ( r.mandatory && !r.satisfied )
{
cDebug() << Logger::SubEntry << "requirement" << count << r.name << "is not satisfied.";
acceptable = false;
}
++count;

Loading…
Cancel
Save