Add debug output to SetKeyboardLayoutJob.

CAL-206 #comment I've just pushed some debug output to master, could you please test again and post a new log?
This commit is contained in:
Teo Mrnjavac 2015-04-03 15:04:24 +02:00
parent 6395b4c8ce
commit 654bc9f471

View File

@ -199,6 +199,8 @@ SetKeyboardLayoutJob::writeVConsoleData( const QString& vconsoleConfPath,
stream.flush(); stream.flush();
file.close(); file.close();
cDebug() << "Written KEYMAP=" << keymap << "to vconsole.conf";
return ( stream.status() == QTextStream::Ok ); return ( stream.status() == QTextStream::Ok );
} }
@ -230,6 +232,10 @@ SetKeyboardLayoutJob::writeX11Data( const QString& keyboardConfPath ) const
file.close(); file.close();
cDebug() << "Written XkbLayout" << m_layout <<
"; XkbModel" << m_model <<
"; XkbVariant" << m_variant << "to X.org file" << keyboardConfPath;
return ( stream.status() == QTextStream::Ok ); return ( stream.status() == QTextStream::Ok );
} }
@ -237,6 +243,7 @@ SetKeyboardLayoutJob::writeX11Data( const QString& keyboardConfPath ) const
Calamares::JobResult Calamares::JobResult
SetKeyboardLayoutJob::exec() SetKeyboardLayoutJob::exec()
{ {
cDebug() << "Executing SetKeyboardLayoutJob";
// Read the location of the destination's / in the host file system from // Read the location of the destination's / in the host file system from
// the global settings // the global settings
Calamares::GlobalStorage* gs = Calamares::JobQueue::instance()->globalStorage(); Calamares::GlobalStorage* gs = Calamares::JobQueue::instance()->globalStorage();