diff options
author | Junkyeong Kim <jk0430.kim@samsung.com> | 2021-03-18 11:51:46 +0900 |
---|---|---|
committer | Junkyeong Kim <jk0430.kim@samsung.com> | 2021-03-18 11:51:47 +0900 |
commit | 877855bc9fd225615b9f3d92d96e0b639c654324 (patch) | |
tree | 79899367ae12a534b0ca34cc6e8dbcd4196bfcb7 | |
parent | b258d27a12694b394003ec8ab87c08d82b534ad1 (diff) | |
download | libtbm-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.spec | 5 |
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 |