summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunkyeong Kim <jk0430.kim@samsung.com>2021-03-18 11:51:46 +0900
committerJunkyeong Kim <jk0430.kim@samsung.com>2021-03-18 11:51:47 +0900
commit877855bc9fd225615b9f3d92d96e0b639c654324 (patch)
tree79899367ae12a534b0ca34cc6e8dbcd4196bfcb7
parentb258d27a12694b394003ec8ab87c08d82b534ad1 (diff)
downloadlibtbm-exynos-tgm-877855bc9fd225615b9f3d92d96e0b639c654324.tar.gz
libtbm-exynos-tgm-877855bc9fd225615b9f3d92d96e0b639c654324.tar.bz2
libtbm-exynos-tgm-877855bc9fd225615b9f3d92d96e0b639c654324.zip
Add post for hal backend
Make symbolic link for hal backend package. Change-Id: I385bd1a74a2eedb1755e3ae0b89fafc5af3b98b8 Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
-rw-r--r--packaging/libtbm-exynos-tgm.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/libtbm-exynos-tgm.spec b/packaging/libtbm-exynos-tgm.spec
index 6cfafe1..f942769 100644
--- a/packaging/libtbm-exynos-tgm.spec
+++ b/packaging/libtbm-exynos-tgm.spec
@@ -59,12 +59,15 @@ if [ -f %{_libdir}/bufmgr/libtbm_default.so ]; then
fi
ln -s libtbm-exynos-tgm.so %{_libdir}/bufmgr/libtbm_default.so
+%postun -p /sbin/ldconfig
+
+%post -n hal-backend-tbm-exynos-tgm
if [ -f %{_hal_libdir}/libhal_backend_tbm.so ]; then
rm -rf %{_hal_libdir}/libhal_backend_tbm.so
fi
ln -s libhal-backend-tbm-exynos-tgm.so %{_hal_libdir}/libhal-backend-tbm.so
-%postun -p /sbin/ldconfig
+%postun -n hal-backend-tbm-exynos-tgm -p /sbin/ldconfig
%files
%manifest %{name}.manifest