From: Otavio Salvador Date: Sat, 9 Sep 2023 12:54:58 +0000 (-0300) Subject: weston-init: remove misleading comment about udev rule X-Git-Tag: 2023-04.4~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35367d029fedc78724396d94abd899e4bd8bef0c;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git weston-init: remove misleading comment about udev rule The udev rule has been removed but the comment has kept, by mistake. Remove it. Fixes: dd83fb40f7 ("weston-init: Stop running weston as root") Tested-by: Tom Hochstein Signed-off-by: Otavio Salvador Signed-off-by: Richard Purdie (cherry picked from commit 8aa3d43fa1c53cdce45ec88a49f27b076d3812ac) Signed-off-by: Steve Sakoman --- diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb index 99b99f72f1f..c2708e38d68 100644 --- a/meta/recipes-graphics/wayland/weston-init.bb +++ b/meta/recipes-graphics/wayland/weston-init.bb @@ -35,7 +35,7 @@ do_install() { sed -i 's#ROOTHOME#${ROOT_HOME}#' ${D}/${sysconfdir}/init.d/weston fi - # Install Weston systemd service and accompanying udev rule + # Install Weston systemd service if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then install -D -p -m0644 ${WORKDIR}/weston.service ${D}${systemd_system_unitdir}/weston.service install -D -p -m0644 ${WORKDIR}/weston.socket ${D}${systemd_system_unitdir}/weston.socket