Restore 2.x directory structure of package 27/43827/7 accepted/tizen/mobile/20150729.073548 accepted/tizen/tv/20150729.073605 accepted/tizen/wearable/20150729.073624 submit/tizen/20150729.044523
authorTomasz Iwanek <t.iwanek@samsung.com>
Fri, 12 Jun 2015 13:35:18 +0000 (15:35 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Tue, 28 Jul 2015 07:36:30 +0000 (09:36 +0200)
commit9980a93975abfb94dc159510ad07443ff3c489c1
treedf42340bfdad34011730e0eafb33950d14c404fd
parentc9e98dbfb4264904e57ab53423ab152f1b91901d
Restore 2.x directory structure of package

Example:
  $HOME/apps_rw/{PKGID}/bin/{APPID_1}, {APPID_2} (symlink)
  $HOME/apps_rw/{PKGID}/data/
  $HOME/apps_rw/{PKGID}/shared/data/
  $HOME/apps_rw/{PKGID}/shared/res/
  $HOME/apps_rw/{PKGID}/shared/trusted/
  $HOME/apps_rw/{PKGID}/res/wgt/... (all wgt contents)

Installation/Update/Deinstallation/RDS modes should work.

BUT NOTE THAT:
 - runtime requires to known where to look for widget files after
   this change,
 - security-manager should not require app_id,
 - security-manager must not block installation when path without
   app_id is passed,
 - C API must be aware of new paths.

Change-Id: Idc3609ae355389a9df696c85315e5bcd71a9a3ef
12 files changed:
src/common/security_registration.cc
src/common/step/step_copy.cc
src/common/step/step_copy_backup.cc
src/common/step/step_generate_xml.cc
src/tpk/step/step_copy_manifest_xml.cc
src/tpk/step/step_create_symbolic_link.cc
src/wgt/CMakeLists.txt
src/wgt/step/step_create_symbolic_link.cc
src/wgt/step/step_rds_modify.cc
src/wgt/step/step_wgt_resource_directory.cc [new file with mode: 0644]
src/wgt/step/step_wgt_resource_directory.h [new file with mode: 0644]
src/wgt/wgt_backend.cc