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>
This commit is contained in:
Jeremy Puhlman 2022-06-21 12:55:10 -04:00 committed by Bruce Ashfield
parent 13839c7b13
commit 66a2fa470b

View File

@ -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