[Buildroot] [PATCH v1] package/weston: fix auto seatd daemon selection

Thomas Devoogdt thomas at devoogdt.com
Wed Feb 14 18:29:31 UTC 2024


Commit 9d6f966f9ad012879bb472896eb35eeda5baa9ab
  "package/weston: don't select seatd daemon if we have logind",

added a fix to only select BR2_PACKAGE_SEATD_DAEMON if
!BR2_PACKAGE_SYSTEMD_LOGIND, but that conflicts with
BR2_PACKAGE_SEATD_BUILTIN, which is selected by default in the seatd.

Add the same logic here, so that it is possible again to select
either the built-in or the daemon option.

Signed-off-by: Thomas Devoogdt <thomas at devoogdt.com>
---
 package/weston/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/weston/Config.in b/package/weston/Config.in
index db6a78ee8a..6bc43c73c2 100644
--- a/package/weston/Config.in
+++ b/package/weston/Config.in
@@ -19,7 +19,8 @@ config BR2_PACKAGE_WESTON
 	select BR2_PACKAGE_LIBINPUT
 	select BR2_PACKAGE_LIBDRM
 	select BR2_PACKAGE_SEATD
-	select BR2_PACKAGE_SEATD_DAEMON if !BR2_PACKAGE_SYSTEMD_LOGIND
+	select BR2_PACKAGE_SEATD_BUILTIN \
+		if !BR2_PACKAGE_SYSTEMD_LOGIND && !BR2_PACKAGE_SEATD_DAEMON
 	# Runtime dependency
 	select BR2_PACKAGE_XKEYBOARD_CONFIG
 	select BR2_PACKAGE_WESTON_SHELL_DESKTOP if !BR2_PACKAGE_WESTON_HAS_SHELL
-- 
2.34.1




More information about the buildroot mailing list