weston-init: Drop profile script now handled by OE-Core

The profile script setting WAYLAND_DISPLAY is now handled in OE-Core
and can be dropped.

1600f38d72

Note that our profile script was in fact correct only for the systemd
case, since it's only there that Yocto sets the Wayland socket to the
non-default value `/run/wayland-0`.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
This commit is contained in:
Tom Hochstein 2023-07-06 11:22:29 -07:00 committed by Otavio Salvador
parent ba24fa45ad
commit 10c7e8fedf
2 changed files with 0 additions and 16 deletions

View File

@ -1,9 +0,0 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://profile"
do_install:append() {
if [ "${@bb.utils.filter('DISTROOVERRIDES', 'fsl fslc', d)}" != "" ]; then
install -Dm0755 ${WORKDIR}/profile ${D}${sysconfdir}/profile.d/weston.sh
fi
}

View File

@ -1,7 +0,0 @@
#!/bin/sh
# Set WAYLAND_DISPLAY manually.
# It will cause app failures if this variable is not set for ssh login.
if test -z "$WAYLAND_DISPLAY"; then
export WAYLAND_DISPLAY="/run/wayland-0"
fi