mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
[partition] Improve debug-output after os-prober
This commit is contained in:
parent
c522004575
commit
e0ce500f36
1 changed files with 5 additions and 3 deletions
|
@ -281,7 +281,6 @@ runOsprober( PartitionCoreModule* core )
|
||||||
osprober.readAllStandardOutput() ).trimmed() );
|
osprober.readAllStandardOutput() ).trimmed() );
|
||||||
}
|
}
|
||||||
|
|
||||||
QString osProberReport( "Osprober lines, clean:\n" );
|
|
||||||
QStringList osproberCleanLines;
|
QStringList osproberCleanLines;
|
||||||
OsproberEntryList osproberEntries;
|
OsproberEntryList osproberEntries;
|
||||||
const auto lines = osproberOutput.split( '\n' );
|
const auto lines = osproberOutput.split( '\n' );
|
||||||
|
@ -313,8 +312,11 @@ runOsprober( PartitionCoreModule* core )
|
||||||
osproberCleanLines.append( line );
|
osproberCleanLines.append( line );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
osProberReport.append( osproberCleanLines.join( '\n' ) );
|
|
||||||
cDebug() << osProberReport;
|
if ( osproberCleanLines.count() > 0 )
|
||||||
|
cDebug() << "os-prober lines after cleanup:" << Logger::DebugList( osproberCleanLines );
|
||||||
|
else
|
||||||
|
cDebug() << "os-prober gave no output.";
|
||||||
|
|
||||||
Calamares::JobQueue::instance()->globalStorage()->insert( "osproberLines", osproberCleanLines );
|
Calamares::JobQueue::instance()->globalStorage()->insert( "osproberLines", osproberCleanLines );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue