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 <ty317.kim@samsung.com>
%post
/usr/bin/chsmack -a "System::Shared" -t %{sysinfo_shared_path}
+/usr/bin/system_info_init_db
/sbin/ldconfig
%postun -p /sbin/ldconfig