All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][master|kirkstone][PATCH] cloud-init: add depend on udev in sysvinit case.
@ 2022-06-21 16:55 Jeremy A. Puhlman
  0 siblings, 0 replies; 4+ messages in thread
From: Jeremy A. Puhlman @ 2022-06-21 16:55 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Jeremy A. Puhlman

Just as with systemd, the build needs the dev manager installed
as a dependancy

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
---
 recipes-extended/cloud-init/cloud-init_21.4.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [meta-virtualization][master|kirkstone][PATCH 1/2] cloud-init: add rdpends for netifaces and charset-normalizer
@ 2022-06-21 22:00 Jeremy A. Puhlman
  2022-06-21 22:00 ` [meta-virtualization][master|kirkstone][PATCH 2/2] cloud-init: install sysvinit initscripts Jeremy A. Puhlman
  2022-06-28  3:39 ` [meta-virtualization][master|kirkstone][PATCH 1/2] cloud-init: add rdpends for netifaces and charset-normalizer Bruce Ashfield
  0 siblings, 2 replies; 4+ messages in thread
From: Jeremy A. Puhlman @ 2022-06-21 22:00 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Jeremy A. Puhlman

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
---
 recipes-extended/cloud-init/cloud-init_21.4.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-extended/cloud-init/cloud-init_21.4.bb b/recipes-extended/cloud-init/cloud-init_21.4.bb
index c6e64b3..9c2dae7 100644
--- a/recipes-extended/cloud-init/cloud-init_21.4.bb
+++ b/recipes-extended/cloud-init/cloud-init_21.4.bb
@@ -56,6 +56,8 @@ RDEPENDS:${PN} = "python3 \
                   python3-jsonschema \
                   python3-pyyaml \
                   python3-oauthlib \
+                  python3-netifaces \
+                  python3-charset-normalizer \
                   bash \
                  "
 
-- 
2.35.3



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [meta-virtualization][master|kirkstone][PATCH 2/2] cloud-init: install sysvinit initscripts
  2022-06-21 22:00 [meta-virtualization][master|kirkstone][PATCH 1/2] cloud-init: add rdpends for netifaces and charset-normalizer Jeremy A. Puhlman
@ 2022-06-21 22:00 ` Jeremy A. Puhlman
  2022-06-28  3:39 ` [meta-virtualization][master|kirkstone][PATCH 1/2] cloud-init: add rdpends for netifaces and charset-normalizer Bruce Ashfield
  1 sibling, 0 replies; 4+ messages in thread
From: Jeremy A. Puhlman @ 2022-06-21 22:00 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Jeremy A. Puhlman

The redhat versions work with out modification.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
---
 recipes-extended/cloud-init/cloud-init_21.4.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/recipes-extended/cloud-init/cloud-init_21.4.bb b/recipes-extended/cloud-init/cloud-init_21.4.bb
index 9c2dae7..5cb6227 100644
--- a/recipes-extended/cloud-init/cloud-init_21.4.bb
+++ b/recipes-extended/cloud-init/cloud-init_21.4.bb
@@ -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 pkgconfig
-- 
2.35.3



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-virtualization][master|kirkstone][PATCH 1/2] cloud-init: add rdpends for netifaces and charset-normalizer
  2022-06-21 22:00 [meta-virtualization][master|kirkstone][PATCH 1/2] cloud-init: add rdpends for netifaces and charset-normalizer Jeremy A. Puhlman
  2022-06-21 22:00 ` [meta-virtualization][master|kirkstone][PATCH 2/2] cloud-init: install sysvinit initscripts Jeremy A. Puhlman
@ 2022-06-28  3:39 ` Bruce Ashfield
  1 sibling, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2022-06-28  3:39 UTC (permalink / raw)
  To: Jeremy Puhlman; +Cc: meta-virtualization

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
on 21/06/2022 Jeremy Puhlman wrote:

> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
> ---
>  recipes-extended/cloud-init/cloud-init_21.4.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/recipes-extended/cloud-init/cloud-init_21.4.bb b/recipes-extended/cloud-init/cloud-init_21.4.bb
> index c6e64b3..9c2dae7 100644
> --- a/recipes-extended/cloud-init/cloud-init_21.4.bb
> +++ b/recipes-extended/cloud-init/cloud-init_21.4.bb
> @@ -56,6 +56,8 @@ RDEPENDS:${PN} = "python3 \
>                    python3-jsonschema \
>                    python3-pyyaml \
>                    python3-oauthlib \
> +                  python3-netifaces \
> +                  python3-charset-normalizer \
>                    bash \
>                   "
>  
> -- 
> 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: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


In message: [meta-virtualization][master|kirkstone][PATCH 2/2] cloud-init: install sysvinit initscripts
on 21/06/2022 Jeremy Puhlman wrote:

> The redhat versions work with out modification.
> 
> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
> ---
>  recipes-extended/cloud-init/cloud-init_21.4.bb | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/recipes-extended/cloud-init/cloud-init_21.4.bb b/recipes-extended/cloud-init/cloud-init_21.4.bb
> index 9c2dae7..5cb6227 100644
> --- a/recipes-extended/cloud-init/cloud-init_21.4.bb
> +++ b/recipes-extended/cloud-init/cloud-init_21.4.bb
> @@ -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 pkgconfig
> -- 
> 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: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


In message: [meta-virtualization][master|kirkstone][PATCH] cloud-init: add depend on udev in sysvinit case.
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 <jpuhlman@mvista.com>
> ---
>  recipes-extended/cloud-init/cloud-init_21.4.bb | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> 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
>  
> -- 
> 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: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-28  3:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21 22:00 [meta-virtualization][master|kirkstone][PATCH 1/2] cloud-init: add rdpends for netifaces and charset-normalizer Jeremy A. Puhlman
2022-06-21 22:00 ` [meta-virtualization][master|kirkstone][PATCH 2/2] cloud-init: install sysvinit initscripts Jeremy A. Puhlman
2022-06-28  3:39 ` [meta-virtualization][master|kirkstone][PATCH 1/2] cloud-init: add rdpends for netifaces and charset-normalizer Bruce Ashfield
  -- strict thread matches above, loose matches on Subject: below --
2022-06-21 16:55 [meta-virtualization][master|kirkstone][PATCH] cloud-init: add depend on udev in sysvinit case Jeremy A. Puhlman

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.