meta-app-framework: agl-session: Ensure XDG_DATA_DIRS is set 48/27048/3
authorScott Murray <scott.murray@konsulko.com>
Tue, 21 Dec 2021 00:35:16 +0000 (19:35 -0500)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 21 Dec 2021 14:57:19 +0000 (14:57 +0000)
commitd3cca1280cf96aec035fa686ba273bb7c5f2dbd7
tree9922c66828b86044a1e5b00d89c33e88ff489dd3
parent6f7d929c10b318fab8484b2b7a52fc047c7922fc
meta-app-framework: agl-session: Ensure XDG_DATA_DIRS is set

Add installation of a systemd user-environment-generator scriptlet
to the agl-session recipe to ensure that XDG_DATA_DIRS is set to a
reasonable default value.  This is required for locating D-Bus
activation .service files and icons.

Bug-AGL: SPEC-4182

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I5d1a72022ca97f25a915b64205bf70ab33516ec6
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27048
Reviewed-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-app-framework/recipes-config/agl-session/agl-session_0.1.bb
meta-app-framework/recipes-config/agl-session/files/50-xdg-data-dirs.sh [new file with mode: 0644]