implement some new features 23/100323/20
authorjongmyeongko <jongmyeong.ko@samsung.com>
Sun, 27 Nov 2016 10:58:42 +0000 (19:58 +0900)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Wed, 30 Nov 2016 08:17:56 +0000 (00:17 -0800)
commit77e1b9203d8d5945a89ca4e94aa0451ba198581d
treeb7733fba80e3912fa4a52f599cd60fc02ac50c99
parent3c5380e92cd22f5858e811ecfabf0acc405d953b
implement some new features

partial install/update feature.
keep-rwdata feature.
clean feature
- if manifest not exist but pkg exists in db.
pkg_initdb option added

Requires :
https://review.tizen.org/gerrit/#/c/100625/
https://review.tizen.org/gerrit/#/c/100891/

Usage:
#tpk-backend -y {pkgid} --preload --partial-rw
#tpk-backend -d {pkgid} --preload --force-remove --partial-rw
#tpk-backend -d {pkgid} --preload-rw --keep-rwdata
#tpk-backend -y {pkgid} --u {userid} --bg-operation
#pkg_initdb --partial-rw (for 2.4 -> 3.0 migration)
#pkg_initdb --ro (for MIC)

Change-Id: Ib6066332fd9e462a3b8afe446c15c94971745ca6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
23 files changed:
packaging/app-installers.spec
src/common/installer_context.cc
src/common/installer_context.h
src/common/pkgmgr_interface.cc
src/common/pkgmgr_interface.h
src/common/pkgmgr_query.cc
src/common/pkgmgr_query.h
src/common/pkgmgr_signal.cc
src/common/request.h
src/common/step/configuration/step_configure.cc
src/common/step/configuration/step_configure.h
src/common/step/configuration/step_parse_manifest.cc
src/common/step/filesystem/step_create_icons.cc
src/common/step/filesystem/step_remove_files.cc
src/common/step/filesystem/step_remove_per_user_storage_directories.cc
src/common/step/pkgmgr/step_check_force_clean.cc [new file with mode: 0644]
src/common/step/pkgmgr/step_check_force_clean.h [new file with mode: 0644]
src/common/step/pkgmgr/step_check_installable.h
src/common/step/pkgmgr/step_check_removable.cc
src/common/step/pkgmgr/step_check_removable.h
src/common/step/pkgmgr/step_run_parser_plugins.cc
src/common/step/pkgmgr/step_unregister_app.cc
src/pkg_initdb/pkg_initdb.cc