External installation 79/61679/13
authorTomasz Iwanek <t.iwanek@samsung.com>
Wed, 9 Mar 2016 16:18:58 +0000 (17:18 +0100)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Tue, 31 May 2016 10:54:36 +0000 (03:54 -0700)
commit81aab64a91bfea63f6f3076fec774c747734ccf5
tree97959317e991cd8160b74a2964aa0d986bff1839
parent1bd5cf1b550d00f2b90dd1a187d1b1de921d5b16
External installation

This patch implements installation of package in external sd card storage.
Tpk and wgt applications may declare preference of being installed on external
storage. If so and space requirement is satisified then their resource directory
is installed in sd card with use of app2sd API.

Following patchsets should be submitted together:
 - https://review.tizen.org/gerrit/61678
 - https://review.tizen.org/gerrit/61679
 - https://review.tizen.org/gerrit/61680

Verify by:
 - running smoke tests,
 - running installation, update, deinstallation for package that prefers external
   installation (SD card must be inserted).

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

Change-Id: I174c14ddfb48dc2bc1a5935c3b4799abd7f26332
src/hybrid/hybrid_backend_data.h
src/hybrid/hybrid_installer.cc
src/wgt/CMakeLists.txt
src/wgt/wgt_installer.cc