mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
More debug output in partition module.
This commit is contained in:
parent
a09efcf73e
commit
d07dfc3eca
1 changed files with 15 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
|||
|
||||
// Qt
|
||||
#include <QScopedPointer>
|
||||
#include <QProcess>
|
||||
|
||||
CreatePartitionTableJob::CreatePartitionTableJob( Device* device, PartitionTable::TableType type )
|
||||
: m_device( device )
|
||||
|
@ -67,6 +68,20 @@ CreatePartitionTableJob::exec()
|
|||
cDebug() << "Creating new partition table of type" << table->typeName()
|
||||
<< ", uncommitted yet:\n" << table;
|
||||
|
||||
QProcess lsblk;
|
||||
lsblk.setProgram( "lsblk" );
|
||||
lsblk.setProcessChannelMode( QProcess::MergedChannels );
|
||||
lsblk.start();
|
||||
lsblk.waitForFinished();
|
||||
cDebug() << "lsblk:\n" << lsblk.readAllStandardOutput();
|
||||
|
||||
QProcess mount;
|
||||
mount.setProgram( "mount" );
|
||||
mount.setProcessChannelMode( QProcess::MergedChannels );
|
||||
mount.start();
|
||||
mount.waitForFinished();
|
||||
cDebug() << "mount:\n" << mount.readAllStandardOutput();
|
||||
|
||||
bool ok = backendDevice->createPartitionTable( report, *table );
|
||||
if ( !ok )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue