summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunkyeong Kim <jk0430.kim@samsung.com>2021-03-18 11:46:27 +0900
committerJunkyeong Kim <jk0430.kim@samsung.com>2021-03-18 11:55:42 +0900
commit0bfb45760dae93793255a817d7c959d7c172da51 (patch)
tree89af9a1a55d4267c4f76bea8d70714e260a03df9
parent4f15826d8b2ce3f8a64d7ac2acc193e92512a058 (diff)
downloadlibtbm-vc4-0bfb45760dae93793255a817d7c959d7c172da51.tar.gz
libtbm-vc4-0bfb45760dae93793255a817d7c959d7c172da51.tar.bz2
libtbm-vc4-0bfb45760dae93793255a817d7c959d7c172da51.zip
Add post for hal backend
Make symbolic link for hal backend package. Change-Id: Ib4bf41c6010bfb3501b206f4362f818850a7a72f Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
-rw-r--r--packaging/libtbm-vc4.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/libtbm-vc4.spec b/packaging/libtbm-vc4.spec
index 2b94d26..d1eca72 100644
--- a/packaging/libtbm-vc4.spec
+++ b/packaging/libtbm-vc4.spec
@@ -60,12 +60,15 @@ if [ -f %{_libdir}/bufmgr/libtbm_default.so ]; then
fi
ln -s libtbm-vc4.so %{_libdir}/bufmgr/libtbm_default.so
+%postun -p /sbin/ldconfig
+
+%post -n hal-backend-tbm-vc4
if [ -f %{_hal_libdir}/libhal-backend-tbm.so ]; then
rm -rf %{_hal_libdir}/libhal-backend-tbm.so
fi
ln -s libhal-backend-tbm-vc4.so %{_hal_libdir}/libhal-backend-tbm.so
-%postun -p /sbin/ldconfig
+%postun -n hal-backend-tbm-vc4 -p /sbin/ldconfig
%files
%manifest %{name}.manifest