Commit b7d02e08 authored by Christian Kandeler's avatar Christian Kandeler Committed by Tobias Hunger
Browse files

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: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent ef411fe1
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment