summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-core/af-main/af-main_1.0.bb
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-04-19 15:29:59 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-04-20 09:23:46 +0000
commit0e42453f4ec4f298b1b12b3848df3048b07a63de (patch)
treee5eb4aafc03889bc15f7c4ca20b684aa28805ae4 /meta-app-framework/recipes-core/af-main/af-main_1.0.bb
parentdc2cbc98814b65108d72056b0f58678802d59bde (diff)
af-main: Improve environment setting
Some environment variable were set in the configuration files. This wasn't a valuable solution. Allowing now system tuning to put environment variables in files of /etc/afm/unit.env.d is much more flexible. This patch is introduced also to solve the folowing issue Bug-AGL: SPEC-547 Change-Id: I41183735b707a9d5d30805504c2676afe12c3b8d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'meta-app-framework/recipes-core/af-main/af-main_1.0.bb')
-rw-r--r--meta-app-framework/recipes-core/af-main/af-main_1.0.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-app-framework/recipes-core/af-main/af-main_1.0.bb b/meta-app-framework/recipes-core/af-main/af-main_1.0.bb
index 0b70c3561..153be3acf 100644
--- a/meta-app-framework/recipes-core/af-main/af-main_1.0.bb
+++ b/meta-app-framework/recipes-core/af-main/af-main_1.0.bb
@@ -56,7 +56,6 @@ SRC_URI += "\
# tools used to install wgt at first boot
SRC_URI += "\
file://afm-install \
- file://add-qt-wayland-shell-integration.patch \
"
do_install_append_class-target() {
@@ -73,10 +72,11 @@ do_install_append_class-target() {
ln -sf ${systemd_user_unitdir}/afm-user-daemon.service ${D}${sysconfdir}/systemd/user/default.target.wants
fi
install -m 0755 ${WORKDIR}/afm-install ${D}${bindir}
+ echo "QT_WAYLAND_SHELL_INTEGRATION=ivi-shell" > ${D}${afm_confdir}/unit.env.d/qt-for-ivi-shell
}
-do_install_append_qemux86-64() {
- sed -i -e '/LD_PRELOAD=\/usr\/lib\/libEGL.so/d' ${D}${systemd_user_unitdir}/afm-user-daemon.service
+do_install_append_porter() {
+ echo "LD_PRELOAD=/usr/lib/libEGL.so" > ${D}${afm_confdir}/unit.env.d/preload-libEGL
}
pkg_postinst_${PN}() {