diff options
| author | Jeremy Puhlman <jpuhlman@mvista.com> | 2022-06-21 12:55:10 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-06-27 23:38:33 -0400 |
| commit | 66a2fa470b0a7c5efd0f121efe29ea1ebaa3b288 (patch) | |
| tree | 897775a91125189270c7d33c07eddc19497131f0 | |
| parent | 13839c7b135f94803534d67271b953a1b152699e (diff) | |
| download | meta-virtualization-66a2fa470b0a7c5efd0f121efe29ea1ebaa3b288.tar.gz | |
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.bb | 3 |
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 f549db96..c6e64b3c 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 | |||
| 26 | inherit update-rc.d | 26 | inherit update-rc.d |
| 27 | inherit systemd | 27 | inherit systemd |
| 28 | 28 | ||
| 29 | # setup.py calls "pkg-config systemd --variable=systemdsystemunitdir" and needs to find our systemd | 29 | # setup.py calls "pkg-config systemd --variable=systemdsystemunitdir" and needs to find our dev manager |
| 30 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | 30 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" |
| 31 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'udev', '', d)}" | ||
| 31 | 32 | ||
| 32 | inherit python3native | 33 | inherit python3native |
| 33 | 34 | ||
