summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJunkyeong Kim <jk0430.kim@samsung.com>2021-03-18 11:46:54 +0900
committerJunkyeong Kim <jk0430.kim@samsung.com>2021-03-18 11:56:18 +0900
commit335012b4348f6363f86b224c37cf30fe5a78447e (patch)
tree6da2c262b17598c6454ffa72a71765dc924f0b60 /packaging
parent55ad0ed4fdabbc55023f3730d93d5e560042423d (diff)
downloadlibtdm-vc4-335012b4348f6363f86b224c37cf30fe5a78447e.tar.gz
libtdm-vc4-335012b4348f6363f86b224c37cf30fe5a78447e.tar.bz2
libtdm-vc4-335012b4348f6363f86b224c37cf30fe5a78447e.zip
Add post for hal backend
Make symbolic link for hal backend package. Change-Id: I3704c0e2781f1e4d67739b43b2d1d87978e96bfc Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/libtdm-vc4.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/libtdm-vc4.spec b/packaging/libtdm-vc4.spec
index 0ef4487..e374242 100644
--- a/packaging/libtdm-vc4.spec
+++ b/packaging/libtdm-vc4.spec
@@ -55,12 +55,15 @@ if [ -f %{_libdir}/tdm/libtdm-default.so ]; then
fi
ln -s libtdm-vc4.so %{_libdir}/tdm/libtdm-default.so
+%postun -p /sbin/ldconfig
+
+%post -n hal-backend-tdm-vc4
if [ -f %{_hal_libdir}/libhal-backend-tdm.so ]; then
rm -rf %{_hal_libdir}/libhal-backend-tdm.so
fi
ln -s libhal-backend-tdm-vc4.so %{_hal_libdir}/libhal-backend-tdm.so
-%postun -p /sbin/ldconfig
+%postun -n hal-backend-tdm-vc4 -p /sbin/ldconfig
%files
%defattr(-,root,root,-)