External installation 78/61678/12
authorTomasz Iwanek <t.iwanek@samsung.com>
Wed, 9 Mar 2016 12:22:08 +0000 (13:22 +0100)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Tue, 31 May 2016 10:54:10 +0000 (03:54 -0700)
commitaeb3d31c82b3e9badf1af3ef416824de5517c10c
treec572d0bd520c33a5e6e2fff515b03da5efa145fb
parentd03626f1a775d8e351ae2d61fe0016d0c0ac3af5
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: I7ab275d4bb668dbd41945bbb6b22b098dab53a75
src/tpk/tpk_installer.cc