Skip the security registration if it is unnecessary 46/285846/2
authorIlho Kim <ilho159.kim@samsung.com>
Fri, 16 Dec 2022 03:06:30 +0000 (12:06 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Wed, 21 Dec 2022 07:28:22 +0000 (16:28 +0900)
commit916fd793a5cbc28621fa5b2c38cc2869b103d321
treed21a5af18d50729da288695fb1101dae8bba0c4f
parent415aba0c2bee545caaf7e39020d10d483478be7d
Skip the security registration if it is unnecessary

If recovery occurs due to termination of update
before security registration performed with information
about a new package in the update case
the security registration for the original package is skiped
because it is unnecessary

Change-Id: Ic1ac7f0f4ba213c73d61dd1819f543fb28d0b768
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/common/recovery_file.cc
src/common/recovery_file.h
src/common/step/filesystem/step_recover_files.cc
src/common/step/security/step_recover_security.cc
src/common/step/security/step_register_security.cc
src/common/step/security/step_register_security.h
src/common/step/security/step_update_security.cc
src/common/step/security/step_update_security.h