diff mbox series

[2/5] classes/systemd: remove obsolete DEPENDS

Message ID 20260710125425.220975-2-ross.burton@arm.com
State Under Review
Headers show
Series [1/5] systemd: move systemd-systemctl-native PACKAGE_WRITE_DEPS to systemd.bb | expand

Commit Message

Ross Burton July 10, 2026, 12:54 p.m. UTC
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>
---
 meta/classes-recipe/systemd.bbclass | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/classes-recipe/systemd.bbclass b/meta/classes-recipe/systemd.bbclass
index 5d8e6086b2..df464baddd 100644
--- a/meta/classes-recipe/systemd.bbclass
+++ b/meta/classes-recipe/systemd.bbclass
@@ -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")
 }