Move pkg_initdb implementation to app-installers 04/64204/17
authorTomasz Iwanek <t.iwanek@samsung.com>
Wed, 30 Mar 2016 10:00:22 +0000 (12:00 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Wed, 11 May 2016 08:24:01 +0000 (10:24 +0200)
commit31fdc40e22c08fd6d0986c982740b2b1d5635004
tree6e2a22c312921a48034ea4db72f31b1bf1a129bb
parent516e353263a735dfe2376d2b410395e88d0fca52
Move pkg_initdb implementation to app-installers

New binary name is: /usr/bin/pkg-initdb

Scripts that creates image should switch to new binary when ready
by changing called binary to given one (then old one may be removed).

/usr/bin/pkg-install-manifest will be removed in next patches.

pkg-initdb should be able to restore pkgmgr database:
 1) for user:
 $ pkg_initdb --uid 5001
 2) globaly:
 $ pkg_initdb

Requires to be submitted with:
 - https://review.tizen.org/gerrit/64351
 - https://review.tizen.org/gerrit/64204

Change-Id: If58d9326c5afcc877ac6ff3ae86924083b764f1c
13 files changed:
CMakeLists.txt
packaging/app-installers.manifest
packaging/app-installers.spec
src/CMakeLists.txt
src/common/step/configuration/step_configure.cc
src/common/step/configuration/step_parse_manifest.cc
src/common/step/security/step_check_signature.cc
src/common/step/security/step_check_signature.h
src/common/utils/subprocess.cc
src/common/utils/subprocess.h
src/pkg_initdb/CMakeLists.txt [new file with mode: 0644]
src/pkg_initdb/pkg_initdb.cc [new file with mode: 0644]
src/pkg_install_manifest/pkg_install_manifest.cc