Skip to content

Commit 2e2114c

Browse files
OldManYellsAtCloudrpurdie
authored andcommitted
src/poky:seatd: fix packaging error with systemd DISTRO_FEATURES
The systemd unit file for this recipe is only installed in case the target system's init system is systemd. It is achieved by inspecting the VIRTUAL-RUNTIME_init_manager variable. However the systemd class was inherited unconditionally. This caused a failure in do_package task, in case systemd is present in the DISTRO_FEATURES but the system's init manager is sysvinit: in this case the systemd unit file is not installed, however systemd.bbclass is still trying to register is as a startup service. At this point it failed: ERROR: seatd-0.9.1-r0 do_package: Didn't find service unit 'seatd.service', specified in SYSTEMD_SERVICE:seatd. To avoid this, install the systemd unit file unconditionally, regardless of the used init system. (From OE-Core rev: c7f157ad1207567ef3614ee4f6e755bccf60a3f4) Signed-off-by: Gyorgy Sarvari <skandigraungmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briandbootlin.com> Signed-off-by: Richard Purdie <richard.purdielinuxfoundation.org>
1 parent 1ecea75 commit 2e2114c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/poky

Submodule poky updated from d0d9f1e to 7a6b417

0 commit comments

Comments
 (0)