]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
classes/systemd: remove obsolete DEPENDS
authorRoss Burton <ross.burton@arm.com>
Fri, 17 Jul 2026 15:46:09 +0000 (16:46 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Jul 2026 06:18:59 +0000 (07:18 +0100)
Recipes that use systemd don't need systemctl at build time, so this
dependency can be removed.

It was added in [1] but no rationale was given or is obvious.

[1] oe-core e9444649f4 ("systemd: Restore mask and preset targets, fix instance creation")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/systemd.bbclass

index 5d8e6086b263542ef148f5406a1d460964384044..df464badddf470d5d6e8bbac0fe35cb79486d7f8 100644 (file)
@@ -21,7 +21,6 @@ python __anonymous() {
     # Inhibit update-rcd from doing any work so that systemd images don't have
     # redundant init files.
     if bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d):
-        d.appendVar("DEPENDS", " systemd-systemctl-native")
         d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
 }