#include "lib/rpk_archive_info.h"
#include "rpk/step/configuration/step_parse_rpk_manifest.h"
#include "rpk/step/pkgmgr/step_rpk_manifest_adjustment.h"
-#include "rpk/step/pkgmgr/step_kill_rscapps.h"
namespace ci = common_installer;
void RpkInstaller::UpdateSteps() {
AppInstaller::UpdateSteps();
- ReplaceStep<rpk::pkgmgr::StepKillRscApps>("KillApps");
+ RemoveStep("KillApps");
RemoveStep("BackupIcons");
RemoveStep("RemoveGlobalAppSymlinks");
RemoveStep("AcquireExternalStorage");
void RpkInstaller::UninstallSteps() {
AppInstaller::UninstallSteps();
- ReplaceStep<rpk::pkgmgr::StepKillRscApps>("KillApps");
+ RemoveStep("KillApps");
RemoveStep("RunParserPlugin");
RemoveStep("RemoveGlobalAppSymlinks");
RemoveStep("OptionalAcquireExternalStorage");
AppInstaller::ManifestDirectUpdateSteps();
RemoveStep("CheckMountPath");
- ReplaceStep<rpk::pkgmgr::StepKillRscApps>("KillApps");
+ RemoveStep("KillApps");
RemoveStep("RemoveGlobalAppSymlinks");
RemoveStep("CreateResControlDirectories");
RemoveStep("RegisterTrustAnchor");
AppInstaller::ManifestPartialUpdateSteps();
RemoveStep("RemoveGlobalAppSymlinks");
- ReplaceStep<rpk::pkgmgr::StepKillRscApps>("KillApps");
+ RemoveStep("KillApps");
RemoveStep("RegisterTrustAnchor");
RemoveStep("PrivacyPrivilege");
RemoveStep("RunParserPlugin");
void RpkInstaller::ReadonlyUpdateInstallSteps() {
AppInstaller::ReadonlyUpdateInstallSteps();
- ReplaceStep<rpk::pkgmgr::StepKillRscApps>("KillApps");
+ RemoveStep("KillApps");
RemoveStep("RevokeTrustAnchor");
RemoveStep("CopyTep");
RemoveStep("CreateIcons");
void RpkInstaller::ReadonlyUpdateUninstallSteps() {
AppInstaller::ReadonlyUpdateUninstallSteps();
- ReplaceStep<rpk::pkgmgr::StepKillRscApps>("KillApps");
+ RemoveStep("KillApps");
RemoveStep("RemoveGlobalAppSymlinks");
RemoveStep("RevokeTrustAnchor");
RemoveStep("RegisterTrustAnchor");
+++ /dev/null
-// Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved
-// Use of this source code is governed by an apache-2.0 license that can be
-// found in the LICENSE file.
-
-#include "step/pkgmgr/step_kill_rscapps.h"
-
-#include <sys/time.h>
-#include <systemd/sd-login.h>
-#include <aul.h>
-
-#include <chrono>
-#include <string>
-
-namespace rpk {
-namespace pkgmgr {
-
-common_installer::Step::Status StepKillRscApps::process() {
-
- return common_installer::Step::Status::OK;
-}
-
-common_installer::Step::Status StepKillRscApps::precheck() {
- return common_installer::Step::Status::OK;
-}
-
-} // namespace pkgmgr
-} // namespace rpk
+++ /dev/null
-// Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved
-// Use of this source code is governed by an apache-2.0 license that can be
-// found in the LICENSE file.
-
-#ifndef STEP_PKGMGR_STEP_KILL_RSCAPPS_H_
-#define STEP_PKGMGR_STEP_KILL_RSCAPPS_H_
-
-#include <manifest_parser/utils/logging.h>
-
-#include "common/installer_context.h"
-#include "common/step/step.h"
-
-namespace rpk {
-namespace pkgmgr {
-
-/**
- * \brief Step responsible for killing applications which are
- * using resource package being updated
- *
- */
-class StepKillRscApps : public common_installer::Step {
- public:
- using Step::Step;
-
- /**
- * \brief main logic for killing applications
- *
- * \return Status::OK
- */
- Status process() override;
- Status clean() override { return Status::OK; }
- Status undo() override { return Status::OK; }
-
- /**
- * \brief checks if neccessary data is provided
- *
- * \return Status::OK if success, Status::ERROR otherwise
- */
- Status precheck() override;
-
- STEP_NAME(KillRscApps)
-};
-
-} // namespace pkgmgr
-} // namespace rpk
-
-#endif // STEP_PKGMGR_STEP_KILL_RSCAPPS_H_