cloud-init: add depend on udev in sysvinit case.
PATCH 1/1 cloud-init: add depend on udev in sysvinit case.
Just as with systemd, the build needs the dev manager installed as a dependancy
--- recipes-extended/cloud-init/cloud-init_21.4.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-extended/cloud-init/cloud-init_21.4.bb +2 -1
@@ -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
Signature · 1 line
2.35.3
Re: [meta-virtualization][master|kirkstone][PATCH 1/2] cloud-init: add rdpends for netifaces and charset-normalizer
Thanks Jeremy,
All three patches have been merged to master and kirskstone.
Bruce
In message: [meta-virtualization][master|kirkstone][PATCH 1/2] cloud-init: add rdpends for netifaces and charset-normalizer
Quoted 31 lines · on 21/06/2022 Jeremy Puhlman wrote:
Signed-off-by Jeremy A. Puhlman <[email protected]>--- recipes-extended/cloud-init/cloud-init_21.4.bb | 2 ++ 1 file changed, 2 insertions(+)recipes-extended/cloud-init/cloud-init_21.4.bb +2
-0@@ -56,6 +56,8 @@ RDEPENDS:${PN} = "python3 \ python3-jsonschema \ python3-pyyaml \ python3-oauthlib \ + python3-netifaces \ + python3-charset-normalizer \ bash \ "Signature · 11 lines
2.35.3 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7393): https://lists.yoctoproject.org/g/meta-virtualization/message/7393 Mute This Topic: https://lists.yoctoproject.org/mt/91910328/1050810 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
In message: [meta-virtualization][master|kirkstone][PATCH 2/2] cloud-init: install sysvinit initscripts
Quoted 36 lines · on 21/06/2022 Jeremy Puhlman wrote:
The redhat versions work with out modification.
Signed-off-by Jeremy A. Puhlman <[email protected]>--- recipes-extended/cloud-init/cloud-init_21.4.bb | 5 +++++ 1 file changed, 5 insertions(+)recipes-extended/cloud-init/cloud-init_21.4.bb +5
-0@@ -19,6 +19,11 @@ DISTUTILS_INSTALL_ARGS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'syste do_install:append() { ln -s ${libdir}/${BPN}/uncloud-init ${D}${sysconfdir}/cloud/uncloud-init ln -s ${libdir}/${BPN}/write-ssh-key-fingerprints ${D}${sysconfdir}/cloud/write-ssh-key-fingerprints + if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then + install -m 755 -d ${D}${sysconfdir}/init.d/ + install -m 755 ${S}/sysvinit/redhat/* ${D}${sysconfdir}/init.d/ + fi + } inherit pkgconfigSignature · 11 lines
2.35.3 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7394): https://lists.yoctoproject.org/g/meta-virtualization/message/7394 Mute This Topic: https://lists.yoctoproject.org/mt/91910329/1050810 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
In message: [meta-virtualization][master|kirkstone][PATCH] cloud-init: add depend on udev in sysvinit case.
Quoted 36 lines · on 21/06/2022 Jeremy Puhlman wrote:
Just as with systemd, the build needs the dev manager installed as a dependancy
Signed-off-by Jeremy A. Puhlman <[email protected]>--- recipes-extended/cloud-init/cloud-init_21.4.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)recipes-extended/cloud-init/cloud-init_21.4.bb +2
-1@@ -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 python3nativeSignature · 11 lines
2.35.3 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7392): https://lists.yoctoproject.org/g/meta-virtualization/message/7392 Mute This Topic: https://lists.yoctoproject.org/mt/91904265/1050810 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-