diff options
author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-06-10 11:49:37 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-12 11:03:43 +0100 |
commit | 7a6b41794e2cfaebefb7323c37d3ba776f36aef2 (patch) | |
tree | 22bbb593624ea3711e6ead4d0ccf430f6400a9da /meta/recipes-devtools/python-numpy/python-numpy.inc | |
parent | d0d9f1e88d9b36e3ee6fd4ea335e4d8ad336fa0a (diff) | |
download | poky-7a6b41794e2cfaebefb7323c37d3ba776f36aef2.tar.gz |
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 <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python-numpy/python-numpy.inc')
0 files changed, 0 insertions, 0 deletions