Move tep between internal memory and sd card 68/74068/6
authorTomasz Iwanek <t.iwanek@samsung.com>
Fri, 10 Jun 2016 12:48:59 +0000 (14:48 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Fri, 17 Jun 2016 08:19:16 +0000 (10:19 +0200)
commit999c7e1a38c9ba10f16028d3dbc447a92b26216a
tree39267f35c3e06cf7f6d13d46d698308518cd10c5
parentd95262cf31142e2f44a41e8dc9a18450607e966c
Move tep between internal memory and sd card

This commit:
 - keeps tep name as ${pkgid}-${appstore_hash}.tep,
 - adds helper functions for tep paths,
 - adds support for copying tep file to external storage,
 - adds moving tep in move request.

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

Submit together:
 - https://review.tizen.org/gerrit/#/c/74068/
 - https://review.tizen.org/gerrit/#/c/74293/
 - https://review.tizen.org/gerrit/#/c/74294/

Change-Id: I17ce7aafcbe85b731aaf9356c2c55427f79e5769
17 files changed:
src/common/CMakeLists.txt
src/common/backup_paths.cc
src/common/backup_paths.h
src/common/pkgmgr_registration.cc
src/common/pkgmgr_registration.h
src/common/shared_dirs.cc
src/common/step/backup/step_copy_backup.cc
src/common/step/filesystem/step_copy_tep.cc
src/common/step/filesystem/step_copy_tep.h
src/common/step/filesystem/step_move_installed_storage.cc
src/common/step/filesystem/step_move_installed_storage.h
src/common/step/filesystem/step_remove_tep.cc [new file with mode: 0644]
src/common/step/filesystem/step_remove_tep.h [new file with mode: 0644]
src/common/step/filesystem/step_update_tep.cc [new file with mode: 0644]
src/common/step/filesystem/step_update_tep.h [new file with mode: 0644]
src/common/step/pkgmgr/step_update_tep.cc [deleted file]
src/common/step/pkgmgr/step_update_tep.h [deleted file]