mirror of
https://github.com/Freescale/meta-freescale-distro.git
synced 2025-10-22 23:13:02 +02:00
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:
parent
ba24fa45ad
commit
10c7e8fedf
|
@ -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
|
||||
}
|
|
@ -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
|
Loading…
Reference in New Issue
Block a user