Patch reinstall/RDS according to SDK behaviour 31/91431/3 accepted/tizen/common/20161013.155648 accepted/tizen/ivi/20161014.074158 accepted/tizen/mobile/20161014.074054 accepted/tizen/tv/20161014.074118 accepted/tizen/wearable/20161014.074137 submit/tizen/20161012.122424
authorTomasz Iwanek <t.iwanek@samsung.com>
Fri, 7 Oct 2016 08:56:10 +0000 (10:56 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Fri, 7 Oct 2016 12:56:26 +0000 (14:56 +0200)
commita93be446c8cb36cff18a0ad5b7337ff512f5f6fd
tree78d0f906443583ff1b8a26712e5eacb883a67a36
parent88bac074ab0094c74a426de47e8a4a2b33200ef1
Patch reinstall/RDS according to SDK behaviour

Commit changes reinstall request argument. Now pkgid
is expected instead of path to directory. What is more,
if package manifest is not in the directory supplied by
reinstall/RDS then it will be copied from install location.

Application installer expects that SDK will put files into:
 - local installation:
   /home/$USERNAME/apps_rw/tmp/$PKGID/
 - global installation:
   /opt/apps/tmp/$PKGID/

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

Submit together:
 - https://review.tizen.org/gerrit/91430
 - https://review.tizen.org/gerrit/91431
 - https://review.tizen.org/gerrit/91432

Verification:
 - run smoke tests,
 - run reinstall from SDK,
 - run RDS from SDK.

Change-Id: I7a5008c6a5d9d28f4181a0be92d42dc9c8e57e28
src/unit_tests/smoke_test.cc
src/unit_tests/test_samples/smoke/delta_dir/.rds_delta
src/unit_tests/test_samples/smoke/delta_dir/res/wgt/ADDED [moved from src/unit_tests/test_samples/smoke/delta_dir/ADDED with 100% similarity]
src/unit_tests/test_samples/smoke/delta_dir/res/wgt/MODIFIED [moved from src/unit_tests/test_samples/smoke/delta_dir/MODIFIED with 100% similarity]
src/unit_tests/test_samples/smoke/delta_dir/res/wgt/config.xml [moved from src/unit_tests/test_samples/smoke/delta_dir/config.xml with 100% similarity]
src/wgt/CMakeLists.txt
src/wgt/step/configuration/step_check_rds_manifest.cc [new file with mode: 0644]
src/wgt/step/configuration/step_check_rds_manifest.h [new file with mode: 0644]
src/wgt/step/rds/step_wgt_rds_modify.cc [deleted file]
src/wgt/step/rds/step_wgt_rds_modify.h [deleted file]
src/wgt/wgt_installer.cc