From: Khem Raj <[email protected]>

With latest version seatd does not work properly if
user access permissions are not correctly set, therefore
create 'seat' group and package the seatd.service file
and enable it by default with systemd distro feature

set logind to systemd when using systemd as default init system

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(cherry picked from commit 26746a02fc94b569f633d581b27a8634cfba38f5)
Signed-off-by: Ankur Tyagi <[email protected]>
---
 meta/recipes-core/seatd/seatd_0.9.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/seatd/seatd_0.9.1.bb 
b/meta/recipes-core/seatd/seatd_0.9.1.bb
index 3be27dda9d..f9f72c9e82 100644
--- a/meta/recipes-core/seatd/seatd_0.9.1.bb
+++ b/meta/recipes-core/seatd/seatd_0.9.1.bb
@@ -34,6 +34,8 @@ PACKAGECONFIG[systemd] = "-Dlibseat-logind=systemd,,systemd"
 do_install:append() {
         if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then
                 install -Dm755 ${UNPACKDIR}/init 
${D}/${sysconfdir}/init.d/seatd
+        else
+                install -Dm644 ${S}/contrib/systemd/seatd.service 
${D}${systemd_unitdir}/system/seatd.service
         fi
         install -Dm644 ${S}/contrib/systemd/seatd.service 
${D}${systemd_unitdir}/system/seatd.service
 }
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#233845): 
https://lists.openembedded.org/g/openembedded-core/message/233845
Mute This Topic: https://lists.openembedded.org/mt/118495537/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to