aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Puhlman <jpuhlman@mvista.com>2022-06-21 12:55:10 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2022-06-27 23:38:41 -0400
commitaf1a411781be6e6ad6075be454d13058fea1b763 (patch)
tree36508a4dd1a50630716ddf7420b39fc3fb6127ce
parent0d35c194351a9672d18bff52a8f2fbabcd5b0f3d (diff)
downloadmeta-virtualization-af1a411781be6e6ad6075be454d13058fea1b763.tar.gz
meta-virtualization-af1a411781be6e6ad6075be454d13058fea1b763.tar.bz2
meta-virtualization-af1a411781be6e6ad6075be454d13058fea1b763.zip
cloud-init: add depend on udev in sysvinit case.
Just as with systemd, the build needs the dev manager installed as a dependancy Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-extended/cloud-init/cloud-init_21.4.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-extended/cloud-init/cloud-init_21.4.bb b/recipes-extended/cloud-init/cloud-init_21.4.bb
index f549db9..c6e64b3 100644
--- a/recipes-extended/cloud-init/cloud-init_21.4.bb
+++ b/recipes-extended/cloud-init/cloud-init_21.4.bb
@@ -26,8 +26,9 @@ inherit setuptools3_legacy
inherit update-rc.d
inherit systemd
-# setup.py calls "pkg-config systemd --variable=systemdsystemunitdir" and needs to find our systemd
+# setup.py calls "pkg-config systemd --variable=systemdsystemunitdir" and needs to find our dev manager
DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
+DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'udev', '', d)}"
inherit python3native