aboutsummaryrefslogtreecommitdiffstats
path: root/meta-application-manager/recipes-application-framework
diff options
context:
space:
mode:
Diffstat (limited to 'meta-application-manager/recipes-application-framework')
-rw-r--r--meta-application-manager/recipes-application-framework/aul/aul.inc2
-rw-r--r--meta-application-manager/recipes-application-framework/aul/files/amd_session_agent.service.patch13
2 files changed, 14 insertions, 1 deletions
diff --git a/meta-application-manager/recipes-application-framework/aul/aul.inc b/meta-application-manager/recipes-application-framework/aul/aul.inc
index 366e59d..1b853c3 100644
--- a/meta-application-manager/recipes-application-framework/aul/aul.inc
+++ b/meta-application-manager/recipes-application-framework/aul/aul.inc
@@ -4,7 +4,7 @@ SECTION = "System/Libraries"
LICENSE = "Apache-2.0"
PV = "0.0.300"
-SRC_URI = ""
+SRC_URI = "file://amd_session_agent.service.patch"
S = "${WORKDIR}/git"
diff --git a/meta-application-manager/recipes-application-framework/aul/files/amd_session_agent.service.patch b/meta-application-manager/recipes-application-framework/aul/files/amd_session_agent.service.patch
new file mode 100644
index 0000000..8164738
--- /dev/null
+++ b/meta-application-manager/recipes-application-framework/aul/files/amd_session_agent.service.patch
@@ -0,0 +1,13 @@
+diff --git a/packaging/amd_session_agent.service b/packaging/amd_session_agent.service
+index 3b3357b..76c4824 100644
+--- a/packaging/amd_session_agent.service
++++ b/packaging/amd_session_agent.service
+@@ -6,6 +6,8 @@
+ Description=Start the USER Access Control Agent
+
+ [Service]
++Environment=XDG_RUNTIME_DIR=/run/user/0
++Environment=LD_PRELOAD=/usr/lib/libEGL.so
+ ExecStart=/bin/sh -l -c "/usr/bin/amd_session_agent"
+
+ [Install]