From 6c6807c018afaa6189cf53ed60a5c2a224cde01d Mon Sep 17 00:00:00 2001 From: Tomasz Iwanek Date: Fri, 25 Mar 2016 11:32:25 +0100 Subject: [PATCH] Implement coping TEP in wgt and hybrid backend To verify, run install|update for wgt package and hybrid package, check if tep_package was copied (use any file as tep package) wgt-backend -i ${wgt_or_hybrid_package} -e ${your tep zip} Given tep file should be copied into res/ directory in package files. Change-Id: I87e38d76f582646ed01a1b74b7ec7580ca1fe4bb --- src/hybrid/hybrid_installer.cc | 6 ++++++ src/wgt/wgt_installer.cc | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/hybrid/hybrid_installer.cc b/src/hybrid/hybrid_installer.cc index b12354d..9d5675f 100644 --- a/src/hybrid/hybrid_installer.cc +++ b/src/hybrid/hybrid_installer.cc @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -34,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -86,6 +88,7 @@ HybridInstaller::HybridInstaller(common_installer::PkgMgrPtr pkgmgr) AddStep(); AddStep(); AddStep(); + AddStep(); AddStep(); AddStep(); AddStep(); @@ -122,6 +125,7 @@ HybridInstaller::HybridInstaller(common_installer::PkgMgrPtr pkgmgr) AddStep(); AddStep(); AddStep(); + AddStep(); AddStep(); AddStep(); AddStep(); @@ -134,6 +138,8 @@ HybridInstaller::HybridInstaller(common_installer::PkgMgrPtr pkgmgr) AddStep(); AddStep( ci::Plugin::ActionType::Upgrade); + // TODO(t.iwanek): this step is supposed to be removed as it is quickfix + AddStep(); break; case ci::RequestType::Uninstall: AddStep(pkgmgr_); diff --git a/src/wgt/wgt_installer.cc b/src/wgt/wgt_installer.cc index d332c57..b0a5dea 100644 --- a/src/wgt/wgt_installer.cc +++ b/src/wgt/wgt_installer.cc @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include @@ -37,6 +38,7 @@ #include #include #include +#include #include #include #include @@ -88,6 +90,7 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr) AddStep(); AddStep(); AddStep(); + AddStep(); AddStep(); AddStep(); AddStep(); @@ -119,6 +122,7 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr) AddStep(); AddStep(); AddStep(); + AddStep(); AddStep(); AddStep(); AddStep(); @@ -129,6 +133,8 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr) AddStep( ci::Plugin::ActionType::Upgrade); AddStep(); + // TODO(t.iwanek): this step is supposed to be removed as it is quickfix + AddStep(); break; } case ci::RequestType::Uninstall: { -- 2.7.4