Fix for UpdateMode_Rollback_Hybrid and MountUpdateMode_Rollback_Hybrid 24/98724/5 accepted/tizen/3.0/common/20161125.101751 accepted/tizen/3.0/ivi/20161125.081930 accepted/tizen/3.0/mobile/20161125.081507 accepted/tizen/3.0/tv/20161125.081740 accepted/tizen/3.0/wearable/20161125.081846 submit/tizen_3.0/20161124.130849
authorBartlomiej Kunikowski <b.kunikowski@partner.samsung.com>
Fri, 18 Nov 2016 10:48:41 +0000 (11:48 +0100)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Thu, 24 Nov 2016 14:10:31 +0000 (06:10 -0800)
There are unneeded step that remove all smack rules. There should
be all smack rules as before an update.

Verify:
 - # su - app_fw
 - $ /usr/bin/wgt-backend-ut/smoke-test

Submit together:
 - https://review.tizen.org/gerrit/#/c/98725/

Requires:
 - https://review.tizen.org/gerrit/#/c/97903/

Change-Id: I5a0f4c929c9f90f06f67a68c3a1bcfc4939f9cc8

src/hybrid/hybrid_installer.cc

index 324c771..0cd47f6 100644 (file)
@@ -164,7 +164,6 @@ HybridInstaller::HybridInstaller(common_installer::PkgMgrPtr pkgmgr)
       AddStep<wgt::security::StepCheckWgtNotificationCategory>();
       AddStep<wgt::security::StepCheckWgtImePrivilege>();
       AddStep<hybrid::encryption::StepEncryptResources>();
-      AddStep<ci::security::StepRollbackInstallationSecurity>();
       AddStep<ci::configuration::StepParseManifest>(
           ci::configuration::StepParseManifest::ManifestLocation::INSTALLED,
           ci::configuration::StepParseManifest::StoreLocation::BACKUP);
@@ -360,7 +359,6 @@ HybridInstaller::HybridInstaller(common_installer::PkgMgrPtr pkgmgr)
       AddStep<wgt::security::StepCheckWgtNotificationCategory>();
       AddStep<wgt::security::StepCheckWgtImePrivilege>();
       AddStep<hybrid::encryption::StepEncryptResources>();
-      AddStep<ci::security::StepRollbackInstallationSecurity>();
       AddStep<ci::configuration::StepParseManifest>(
           ci::configuration::StepParseManifest::ManifestLocation::INSTALLED,
           ci::configuration::StepParseManifest::StoreLocation::BACKUP);