forked from qt-creator/qt-creator
Madde: Upload packages to the developer's home directory.
The partition for /tmp only has a size of 4MB on Harmattan, so uploading any somewhat bigger project will fail. Task-number: QTCREATORBUG-6859 Change-Id: Ia90e9cf7d28c52a97185de02ad075374c12c2e60 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
ef411fe115
commit
b7d02e08fa
@@ -42,6 +42,7 @@
|
||||
#include <qtsupport/baseqtversion.h>
|
||||
#include <remotelinux/abstractuploadandinstallpackageservice.h>
|
||||
#include <remotelinux/linuxdeviceconfiguration.h>
|
||||
#include <utils/ssh/sshconnection.h>
|
||||
|
||||
using namespace RemoteLinux;
|
||||
|
||||
@@ -84,6 +85,14 @@ protected:
|
||||
}
|
||||
handleDeviceSetupDone(false);
|
||||
}
|
||||
|
||||
private:
|
||||
QString uploadDir() const
|
||||
{
|
||||
const QString uname = deviceConfiguration()->sshParameters().userName;
|
||||
return uname == QLatin1String("root")
|
||||
? QString::fromLatin1("/root") : QLatin1String("/home/") + uname;
|
||||
}
|
||||
};
|
||||
|
||||
class MaemoUploadAndInstallPackageAction : public AbstractMaddeUploadAndInstallPackageAction
|
||||
|
||||
Reference in New Issue
Block a user