Fix StepDeltaPatch 66/69066/4
authorTomasz Iwanek <t.iwanek@samsung.com>
Wed, 11 May 2016 08:50:51 +0000 (10:50 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Tue, 17 May 2016 13:51:51 +0000 (06:51 -0700)
commit1687bd35bd0eec4b7ad3f2faa4fbd658b8795664
treed8073361acdfc98d5a4302e66e783945f62dc32c
parent970d6acd5c03d592c1a85c584bd7d30d5130d471
Fix StepDeltaPatch

This patch modifies StepDeltaPatch step that it will remove
installer generated icons for web applications from temporary
directory before it applies patch and checks signature.

Reference package content for applying delta changes is taken
from installation location of package so we copy not only package
files but also installer generated files that are not in signature.

Problematic directory is /shared/res/ where there are package files
and installer generated files.

Requires:
 - https://review.tizen.org/gerrit/69115

To verify, run:
 $ /usr/bin/wgt-backend-ut/smoke-test --gtest_filter=SmokeTest.DeltaMode_Hybrid

Change-Id: Iee5a6561164e9cfb161e8e41a65aedec71b85e54
src/common/step/filesystem/step_delta_patch.cc