summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd_196.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_196.bb b/meta/recipes-core/systemd/systemd_196.bb
index 1861437..85bb4f9 100644
--- a/meta/recipes-core/systemd/systemd_196.bb
+++ b/meta/recipes-core/systemd/systemd_196.bb
@@ -247,3 +247,11 @@ update-alternatives --remove reboot ${base_bindir}/systemctl
247update-alternatives --remove shutdown ${base_bindir}/systemctl 247update-alternatives --remove shutdown ${base_bindir}/systemctl
248update-alternatives --remove poweroff ${base_bindir}/systemctl 248update-alternatives --remove poweroff ${base_bindir}/systemctl
249} 249}
250
251
252# As this recipe builds udev, respect the systemd DISTRO_FEATURE so we don't try
253# building udev and systemd in world builds.
254python () {
255 if not oe.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d):
256 raise bb.parse.SkipPackage("'systemd' not in DISTRO_FEATURES")
257}