Skip to content

Commit 72c1d7c

Browse files
committed
graphics::wayland::weston: install profile script only on sysv
The setup of the XDG_RUNTIME_DIR variable is only necessary on sysvinit based systems. On systemd, the variable will have the correct setting already.
1 parent 8a74449 commit 72c1d7c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

recipes/graphics/wayland/weston.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,11 @@ buildScript: |
6868
-Dbackend-drm=true \
6969
-Drenderer-gl=true
7070
71-
# install profile file
72-
install -D -m 0644 $<@weston/weston.sh@> \
73-
install/etc/profile.d/weston.sh
74-
7571
# add init script
7672
if initIsAnySysvinit; then
73+
# install profile file
74+
install -D -m 0644 $<@weston/weston.sh@> \
75+
install/etc/profile.d/weston.sh
7776
install -D -m 0755 $<@weston/S80weston.sh@> \
7877
install/etc/init.d/S80weston.sh
7978
fi

0 commit comments

Comments
 (0)