Patch reinstall/RDS according to SDK behaviour 30/91430/3 accepted/tizen/3.0/ivi/20161028.123107 accepted/tizen/3.0/mobile/20161028.122418 accepted/tizen/3.0/tv/20161028.122639 accepted/tizen/3.0/wearable/20161028.122904 accepted/tizen/common/20161013.155647 accepted/tizen/ivi/20161014.074156 accepted/tizen/mobile/20161014.074052 accepted/tizen/tv/20161014.074117 accepted/tizen/wearable/20161014.074135 submit/tizen/20161012.122424 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082323 submit/tizen_3.0_common/20161104.104000
authorTomasz Iwanek <t.iwanek@samsung.com>
Fri, 7 Oct 2016 08:04:20 +0000 (10:04 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Fri, 7 Oct 2016 12:57:05 +0000 (14:57 +0200)
commit8f15a2eb5b9209564ecaf86f6dde2f85b1751809
tree47d31f5ee3875b981a164284e02f8a4635cc4c72
parentc985b21d58113738f3ad87e541b3751c5882e6dd
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: I20bf9195dfa17dc449a9ba790308eef47bc126b5
src/tpk/CMakeLists.txt
src/tpk/step/configuration/step_check_reinstall_manifest.cc [new file with mode: 0644]
src/tpk/step/configuration/step_check_reinstall_manifest.h [new file with mode: 0644]
src/tpk/step/rds/step_tpk_rds_modify.cc [deleted file]
src/tpk/step/rds/step_tpk_rds_modify.h [deleted file]
src/tpk/tpk_installer.cc
src/unit_tests/smoke_test.cc