Skip to content
Snippets Groups Projects
Commit 96e003e9 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

RemoteLinux: Deploy tarball to /tmp.

Home directories might be at non-standard locations on embedded Linux
systems.

Task-number: QTCREATORBUG-5916
Change-Id: I9988c9accc91c90e9b950b74460d48aacd18da28
Reviewed-on: http://codereview.qt.nokia.com/4362


Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent 9a184014
No related branches found
No related tags found
No related merge requests found
...@@ -89,10 +89,7 @@ QString AbstractUploadAndInstallPackageService::packageFilePath() const ...@@ -89,10 +89,7 @@ QString AbstractUploadAndInstallPackageService::packageFilePath() const
QString AbstractUploadAndInstallPackageService::uploadDir() const QString AbstractUploadAndInstallPackageService::uploadDir() const
{ {
const QString uname = deviceConfiguration()->sshParameters().userName; return QLatin1String("/tmp");
return uname == QLatin1String("root")
? QString::fromLatin1("/root")
: QLatin1String("/home/") + uname;
} }
bool AbstractUploadAndInstallPackageService::isDeploymentNecessary() const bool AbstractUploadAndInstallPackageService::isDeploymentNecessary() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment