All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] systemd-compat-units: Only enable for systemd in DISTRO_FEATURES
@ 2016-08-18 13:43 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-08-18 13:43 UTC (permalink / raw)
  To: openembedded-core; +Cc: Joe Slater

This recipe only makes sense when systemd is enabled and otherwise causes
world build failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

diff --git a/meta/recipes-core/systemd/systemd-compat-units.bb b/meta/recipes-core/systemd/systemd-compat-units.bb
index 90811da..f246e83 100644
--- a/meta/recipes-core/systemd/systemd-compat-units.bb
+++ b/meta/recipes-core/systemd/systemd-compat-units.bb
@@ -9,10 +9,12 @@ DEPENDS = "systemd-systemctl-native"
 
 S = "${WORKDIR}"
 
-inherit allarch
+inherit allarch distro_features_check
 
 ALLOW_EMPTY_${PN} = "1"
 
+REQUIRED_DISTRO_FEATURES = "systemd"
+
 SYSTEMD_DISABLED_SYSV_SERVICES = " \
   busybox-udhcpc \
   hwclock \




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-18 13:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-18 13:43 [PATCH] systemd-compat-units: Only enable for systemd in DISTRO_FEATURES Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.