hal-backend-service: Add EnvironmentFile=/run/xdg-root-env to use libtbm 49/321449/2 accepted/tizen/unified/20250326.130857 accepted/tizen/unified/x/20250326.212907
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 21 Mar 2025 08:42:12 +0000 (17:42 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 21 Mar 2025 08:53:02 +0000 (17:53 +0900)
commit5133b7c1cb1f4d6f6760dbd0be9e79152044575f
tree1eb790b8743b4fad3fa76b9a44c21afe780f88f1
parentd8becdd756bbd767a057446081256ff3cd9d8a85
hal-backend-service: Add EnvironmentFile=/run/xdg-root-env to use libtbm

Add EnvironmentFile=/run/xdg-root-envto hal-backend-service process
because  hal-backend-service plugin might want to use libtbm (Tizen Buffer Manager)
for handling buffer such as graphics, camera, codec buffers.

Require the XDG_RUNTIME_DIR environment variable if hal-backend-service
plugin uses libtbm library. But, XDG_RUNTIME_DIR environment variable
is not added to /run/tizen-system-env or global exported environment
data. Instead, enlightenment exports XDG_RUNTIME_DIR environment variable
to /run/xdg-root-env file.

Change-Id: I1ebf726ae1bf3e3d9a0bbe83cf28f3b5efb798e4
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
hal-backend-service/hal-backend-service.service.in