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

RemoteLinux: Change default deployment method.

Do direct upload instead of creating and extracting a tarball.

Change-Id: Ic84f3a833a7f42e392e37bf4e9b2f9522af5f5ca
Reviewed-on: http://codereview.qt-project.org/4560


Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent 64440a79
No related branches found
No related tags found
No related merge requests found
......@@ -31,11 +31,10 @@
**************************************************************************/
#include "remotelinuxdeployconfigurationfactory.h"
#include "genericdirectuploadstep.h"
#include "remotelinuxdeployconfiguration.h"
#include "remotelinuxutils.h"
#include "remotelinux_constants.h"
#include "tarpackagecreationstep.h"
#include "uploadandinstalltarpackagestep.h"
#include <QtCore/QCoreApplication>
......@@ -45,7 +44,7 @@ namespace RemoteLinux {
namespace Internal {
namespace {
QString genericLinuxDisplayName() {
return QCoreApplication::translate("RemoteLinux", "Build Tarball and Install to Linux Host");
return QCoreApplication::translate("RemoteLinux", "Deploy to Remote Linux Host");
}
} // anonymous namespace
......@@ -80,8 +79,8 @@ DeployConfiguration *RemoteLinuxDeployConfigurationFactory::create(Target *paren
DeployConfiguration * const dc = new RemoteLinuxDeployConfiguration(parent, id,
genericLinuxDisplayName(), QLatin1String(Constants::GenericLinuxOsType));
dc->stepList()->insertStep(0, new TarPackageCreationStep(dc->stepList()));
dc->stepList()->insertStep(1, new UploadAndInstallTarPackageStep(dc->stepList()));
dc->stepList()->insertStep(0, new GenericDirectUploadStep(dc->stepList(),
GenericDirectUploadStep::stepId()));
return dc;
}
......
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