Index: sources/device/DeviceController.cpp =================================================================== diff -u -rcf51c19d82d667644d7f70eaa521b43f908c7068 -rffa637196f8eb64c155cd84ef27f65a87479135e --- sources/device/DeviceController.cpp (.../DeviceController.cpp) (revision cf51c19d82d667644d7f70eaa521b43f908c7068) +++ sources/device/DeviceController.cpp (.../DeviceController.cpp) (revision ffa637196f8eb64c155cd84ef27f65a87479135e) @@ -562,7 +562,7 @@ } /*! - * \brief DeviceController::onProcessRootSSHAccessFinished + * \brief DeviceController::onProcessRootSSHAccessExitCode * \details Called when the process to set the RootSSHAccess has finished * \param vExitCode (int) the exit code * \note exit code -> 0 : set Accept [MBase] -> Log -> emit @@ -786,6 +786,11 @@ emit didWatchFileChange(vFile); } +/*! + * \brief DeviceController::onEventThreadChange + * \details The signal handler for the DeviceController(this)::didEventThreadChange + * to start checking for the Encrypted partition readyness. + */ void DeviceController::onEventThreadChange() { //DEBUG qDebug() << " ---------- " << __FUNCTION__ << QThread::currentThread()->objectName() << QThread::currentThread() << qApp->thread(); @@ -846,6 +851,11 @@ emit didPOSTCloudSyncData (vNetAddress); } +/*! + * \brief DeviceController::checkConfugurationMountReady + * \details Cheks if the system is ready to mount the encrypted partition. + * The object has to be on its own thread and the salt for the decryption has to be ready. + */ void DeviceController::checkConfugurationMountReady() { /// in manufacturing the system is logged with root and configurations are in /home/root @@ -907,8 +917,8 @@ /*! * \brief DeviceController::onProcessFactoryResetExitCode - * \param vExitCode - * \param vStatus + * \param vExitCode - the script exit code. + * \param vStatus - the script echoed message. */ void DeviceController::onProcessFactoryResetExitCode(int vExitCode, QProcess::ExitStatus vStatus) { Index: sources/storage/StorageGlobals.cpp =================================================================== diff -u -rcf51c19d82d667644d7f70eaa521b43f908c7068 -rffa637196f8eb64c155cd84ef27f65a87479135e --- sources/storage/StorageGlobals.cpp (.../StorageGlobals.cpp) (revision cf51c19d82d667644d7f70eaa521b43f908c7068) +++ sources/storage/StorageGlobals.cpp (.../StorageGlobals.cpp) (revision ffa637196f8eb64c155cd84ef27f65a87479135e) @@ -116,7 +116,7 @@ #ifdef BUILD_FOR_TARGET //TODO The manufacturing mode has to run as root // after the lockdown.sh ran there would be no root user access - // and I am not sure how we reenalbe the root ssh + // and I am not sure how we reenable the root ssh // and if it is a security risk to give denali access to sshd_config to enable the root ssh within UI App // lockdown script suppose to be the last thing to do,