poky/meta/recipes-core
Yi Zhao 57ad766534 systemd: fix broken links for sysvinit-compatible commands
Since commit[1], PACKAGECONFIG[sysvinit] is not enabled by default when
sysvinit is not in DISTRO_FEATURES, which causes the following
sysvinit-compatible commands/services to not be built and installed:

  runlevel
  telinit
  rc-local.service
  systemd-initctl
  systemd-initctl.service
  systemd-rc-local-generator
  systemd-sysv-generator
  systemd-update-utmp-runlevel.service

Therefore, links to these commands/services should only be created when
PACKAGECONFIG[sysvinit] is enabled.

[1] https://git.openembedded.org/openembedded-core/commit/?id=3668235fd60a9027608f37251c4b453ed21b3687

(From OE-Core rev: 681e3d20c2ac16778e302b468ec278aed9562639)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a20b698f1acdee972cf1ff570b09a2e2c36bef1a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
..
2024-09-10 13:05:00 +01:00
2024-01-07 12:24:57 +00:00
2024-09-04 12:38:44 +01:00
2024-09-05 21:48:47 +01:00
2023-04-27 14:41:31 +01:00
2024-04-14 06:28:02 +01:00
2024-08-23 22:43:27 +01:00
2024-11-26 05:37:09 -08:00
2024-08-29 21:58:19 +01:00
2024-08-23 22:43:27 +01:00
2024-08-21 21:51:49 +01:00
2024-04-23 13:40:24 +01:00
2024-08-29 21:58:19 +01:00