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
(From OE-Core rev: 26746a02fc94b569f633d581b27a8634cfba38f5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
- libseat could end up not servicing seat enable/disable events if they
were received immediately after a response, leading to the session
deadlocking in a deactivated state.
- Some protocol strings lacked validation of the NULL termination
requirement.
- libseat/seatd: Remove read_and_execute
- libseat/seatd: Read remaining events after processing responses
- libseat/seatd: Cleanup of request error handling
- libseat/seatd: Set EINVAL if target session is invalid
- libseat/seatd: Set backend error if poll fails
- seatd: Add validation of device path libseat/seatd: Add validation of seat_name
- seatd: Add strict message size comparison
(From OE-Core rev: ff226ea917a891f04bd4b18419d2773f99431709)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR
references in recipe do_compile/do_install tasks to use UNPACKDIR in the
appropraite places instead.
(From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to set nobranch=1 as the 0.6.4 tag isn't on any branches at
present.
(From OE-Core rev: 5637ebe76885c21c2c3f975b4f412b02f9e02456)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add libsystemd dependency if we have systemd in DISTRO_FEATURES.
This is needed to build the systemd backend. Projects that use seatd
to hook into logind (e.g. wlroots) fail to properly login without it.
(From OE-Core rev: c659e7468686b8f6995cdc01dd0dbe0e84946bf6)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed to run weston properly as non-root in the absence
of systemd-logind, and other compositors will likely require seatd
as well.
(From OE-Core rev: f0c7e8cdeea065ddfcd4187f1fabc074b2753ba1)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>