Support legacy image for backward-compatibility 23/104823/25
authorjongmyeongko <jongmyeong.ko@samsung.com>
Wed, 14 Dec 2016 10:37:59 +0000 (19:37 +0900)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Fri, 6 Jan 2017 05:51:27 +0000 (21:51 -0800)
commit2b99c718d1a9eed073fe9a668540dd49b3a973ec
tree7d9470e0d8b0f0f172c69b3a8efabf05ced85898
parenta9899cecfa471b1fdb8bdb611242817d5623b340
Support legacy image for backward-compatibility

Work flows for migration
-> helper daemon will call app2ext_migrate_legacy_all()
-> call pkgmgr client api to execute the installer backend
-> the backend mount legacy image
-> the backend change old labels
-> the backedn umount legacy image

Submit with :
        [slp-pkgmgr] https://review.tizen.org/gerrit/#/c/107123/
        [app-installers] https://review.tizen.org/gerrit/#/c/107124/
        [tpk-backend] https://review.tizen.org/gerrit/#/c/107125/
        [pkgmgr-server] https://review.tizen.org/gerrit/#/c/108346/
        [wgt-backend] https://review.tizen.org/gerrit/#/c/108485/

Migration Trigger Test:
#test_app2ext --migrate-all (refer to usage)

Change-Id: I180d6144d3fa033f7c969dc76f4f0f3e5b20e91f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
15 files changed:
inc/app2ext_interface.h
packaging/app2sd.spec
plugin/app2sd/CMakeLists.txt
plugin/app2sd/common/inc/app2sd_utils.h
plugin/app2sd/lib/app2sd_client_interface.c
plugin/app2sd/lib/app2sd_client_interface.h
plugin/app2sd/server/app2sd_interface.c
plugin/app2sd/server/app2sd_interface.h
plugin/app2sd/server/app2sd_internals.c
plugin/app2sd/server/app2sd_internals.h
plugin/app2sd/server/app2sd_internals_registry.c
plugin/app2sd/server/app2sd_internals_utils.c
plugin/app2sd/server/app2sd_server.c
src/app2ext_interface.c
test/src/test_app2ext.c