From: Ilho Kim Date: Wed, 24 Jan 2024 08:38:21 +0000 (+0900) Subject: Fix backup plugin execution information X-Git-Tag: accepted/tizen/unified/20240131.064126~2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fappfw%2Fapp-installers.git;a=commitdiff_plain;h=d97d7f7cd5672ae731bda4eb04941cb7b4762aec Fix backup plugin execution information Add the plugin execution information to a manifest not a manifest for backup can cause the previous plugin execution information to be saved after the upgrade is complete Change-Id: Ic078226fb34caec77748b432623c2b59c1719ca5 Signed-off-by: Ilho Kim --- diff --git a/src/common/step/configuration/step_parse_manifest.cc b/src/common/step/configuration/step_parse_manifest.cc index 2caedf2..39a3341 100644 --- a/src/common/step/configuration/step_parse_manifest.cc +++ b/src/common/step/configuration/step_parse_manifest.cc @@ -272,8 +272,9 @@ bool StepParseManifest::FillPackageInfo(manifest_x* manifest) { } // retrieve and set plugin execution info if exists - if (manifest_location_ == ManifestLocation::INSTALLED || - manifest_location_ == ManifestLocation::RECOVERY) { + if (store_location_ == StoreLocation::BACKUP && ( + manifest_location_ == ManifestLocation::INSTALLED || + manifest_location_ == ManifestLocation::RECOVERY)) { std::vector plugin_list; pkg_query.PluginExecutionInfo(&plugin_list);