From e64bfcb2a383029a6c732835c3be5798967e1ab3 Mon Sep 17 00:00:00 2001 From: Wook Song Date: Thu, 22 Jun 2017 14:43:34 +0900 Subject: [PATCH] pass-hal: tm2: packaging: Fix bug in applying systemd-tmpfiles 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 --- packaging/pass-hal-tm2.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/pass-hal-tm2.spec b/packaging/pass-hal-tm2.spec index fe46ef7..374a548 100644 --- a/packaging/pass-hal-tm2.spec +++ b/packaging/pass-hal-tm2.spec @@ -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 -- 2.7.4