From: taeyoung Date: Thu, 5 Jan 2017 07:18:27 +0000 (+0900) Subject: db: create db in the post script X-Git-Tag: submit/tizen_3.0/20170105.072601^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10490bb855002bb808b2bcf4cd6508ec7bb4cc6f;p=platform%2Fcore%2Fapi%2Fsystem-info.git db: create db in the post script Previously, the db was created after installing all packages. However, several packages want to use the system information during installation. Thus the db is created once in the post script, and db is updated after build information is created. Change-Id: Ia4d71ac1696c5c7ed9ca6728baf8eb6b504d19e3 Signed-off-by: taeyoung --- diff --git a/packaging/capi-system-info.spec b/packaging/capi-system-info.spec index 90e1733..33583b2 100644 --- a/packaging/capi-system-info.spec +++ b/packaging/capi-system-info.spec @@ -76,6 +76,7 @@ mkdir -p %{buildroot}/%{sysinfo_shared_path} %post /usr/bin/chsmack -a "System::Shared" -t %{sysinfo_shared_path} +/usr/bin/system_info_init_db /sbin/ldconfig %postun -p /sbin/ldconfig