From 10490bb855002bb808b2bcf4cd6508ec7bb4cc6f Mon Sep 17 00:00:00 2001 From: taeyoung Date: Thu, 5 Jan 2017 16:18:27 +0900 Subject: [PATCH] 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 --- packaging/capi-system-info.spec | 1 + 1 file changed, 1 insertion(+) 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 -- 2.7.4