This patch changes the path which systemd-tmpfiles uses in %post from
/usr/lib to %{_libdir}. Since the defualt path for the libraries is
/usr/lib64 for aarch64, the daemon does not work properly with the
hard-coded path used before.
Change-Id: If18c89efe327ec2afc8ee3d974af269dadf56837
Signed-off-by: Wook Song <wook16.song@samsung.com>
%post
/sbin/ldconfig
-systemd-tmpfiles /usr/lib/tmpfiles.d/pass-hal.conf --create
+systemd-tmpfiles %{_libdir}/tmpfiles.d/pass-hal.conf --create
%postun -p /sbin/ldconfig