Extending "shared" directory functionality. 80/44680/2
authorPawel Sikorski <p.sikorski@samsung.com>
Thu, 23 Jul 2015 12:51:56 +0000 (14:51 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Tue, 28 Jul 2015 07:36:30 +0000 (09:36 +0200)
commitfd1343ad0755bf6f939840b62e74b33e43bafcc0
tree83eaea245e61acbaa6c5d0a3d2a24c9e62d920fd
parent9980a93975abfb94dc159510ad07443ff3c489c1
Extending "shared" directory functionality.

Tizen 3.x defines new requirement, in which resources located
in "res/wgt/shared" folder should be moved to package ./shared directory.
Additionally, symbolic link should be created ./res/wgt/shared -> ./shared

On the other hand, tizen 2.x applications, should follow old policy (no data
movement)

Solution:
Introduction of derived StepWgtCreateStorageDirectories that adds above
functionality.

Change-Id: I3de99339f7d1123d9501f94577b9e2a79383511d
src/common/context_installer.h
src/common/step/step_check_signature.cc
src/common/step/step_create_storage_directories.cc
src/common/step/step_create_storage_directories.h
src/common/step/step_unzip.h
src/tpk/step/step_parse.cc
src/wgt/CMakeLists.txt
src/wgt/step/step_parse.cc
src/wgt/step/step_wgt_create_storage_directories.cc [new file with mode: 0644]
src/wgt/step/step_wgt_create_storage_directories.h [new file with mode: 0644]
src/wgt/wgt_backend.cc