pass-hal: tm2: packaging: Fix bug in applying systemd-tmpfiles 79/135379/2
authorWook Song <wook16.song@samsung.com>
Thu, 22 Jun 2017 05:43:34 +0000 (14:43 +0900)
committerWook Song <wook16.song@samsung.com>
Thu, 22 Jun 2017 08:29:06 +0000 (17:29 +0900)
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>
packaging/pass-hal-tm2.spec

index fe46ef7..374a548 100644 (file)
@@ -38,7 +38,7 @@ rm -rf %{buildroot}
 
 %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