Remove pkg_initdb binary 09/64209/10 accepted/tizen/common/20160513.123201 accepted/tizen/common/20160513.123350 accepted/tizen/ivi/20160513.004716 accepted/tizen/mobile/20160513.004744 accepted/tizen/tv/20160513.004700 accepted/tizen/wearable/20160513.004634 submit/tizen/20160511.132536 submit/tizen/20160512.083806
authorTomasz Iwanek <t.iwanek@samsung.com>
Wed, 30 Mar 2016 11:57:42 +0000 (13:57 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Wed, 11 May 2016 11:11:59 +0000 (04:11 -0700)
This binary is moved to app-installers with name "pkg_initdb".

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

Change-Id: I4b2d6c2291ca3753492eede9c2ebdecb1dd5416f

CMakeLists.txt
data/10_package-manager-add.post
packaging/pkgmgr-tool.spec

index 9fbd38e..f816b98 100644 (file)
@@ -58,10 +58,6 @@ ADD_EXECUTABLE(pkg_clearcache src/pkg_clearcache.c)
 TARGET_LINK_LIBRARIES(pkg_clearcache ${pkgs_test_LDFLAGS})
 INSTALL(TARGETS pkg_clearcache DESTINATION bin)
 
-ADD_EXECUTABLE(pkg_initdb src/pkg_initdb.c)
-TARGET_LINK_LIBRARIES(pkg_initdb ${pkgs_initdb_LDFLAGS})
-INSTALL(TARGETS pkg_initdb DESTINATION bin)
-
 ADD_EXECUTABLE(install_preload_tpk src/install_preload_tpk.c)
 TARGET_LINK_LIBRARIES(install_preload_tpk ${pkgs_test_LDFLAGS})
 INSTALL(TARGETS install_preload_tpk DESTINATION bin)
index 687bb36..8e1685e 100644 (file)
@@ -27,6 +27,7 @@ BuildRequires:  pkgconfig(pkgmgr-installer)
 BuildRequires:  pkgmgr-info-parser-devel
 BuildRequires:  pkgmgr-info-parser
 BuildRequires:  fdupes
+Requires(posttrans):  /usr/bin/pkg_initdb
 
 %description
 Packager Manager Tool for packaging
@@ -77,7 +78,6 @@ fi
 %dir %{_sysconfdir}/opt/upgrade
 %{_sysconfdir}/opt/upgrade/pkgmgr.patch.sh
 %{_bindir}/pkgcmd
-%attr(0755,root,root) %{_bindir}/pkg_initdb
 %attr(755,root,root) %{_sysconfdir}/gumd/useradd.d/10_package-manager-add.post
 %{_bindir}/pkg_getsize
 %{_bindir}/pkg_clearcache