seatd: always use logind on systemd systems

This commit is contained in:
Markus Volk 2021-06-27 11:38:08 +02:00
parent 3fcf03e501
commit eda2f8bd0f

View File

@ -10,12 +10,12 @@ SRC_URI = "git://git.sr.ht/~kennylevinsen/seatd;protocol=https"
# On systems without logind/elogind, you need to suid the sway binary. # On systems without logind/elogind, you need to suid the sway binary.
# Sway will drop root permissions shortly after startup. # Sway will drop root permissions shortly after startup.
PACKAGECONFIG[logind] = ",,systemd" PACKAGECONFIG[systemd] = ",,systemd"
PACKAGECONFIG[elogind] = ",,elogind" PACKAGECONFIG[elogind] = ",,elogind"
PACKAGECONFIG[standalone] = "-Dbuiltin=enabled,-Dbuiltin=disabled" PACKAGECONFIG[standalone] = "-Dbuiltin=enabled,-Dbuiltin=disabled"
PACKAGECONFIG ?= " \ PACKAGECONFIG ?= " \
logind \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
" "
S = "${WORKDIR}/git" S = "${WORKDIR}/git"