All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH] cloud-init: replace sysvinit/redhat with sysvinit/debian
@ 2023-12-21 17:34 jpuhlman
  2023-12-21 17:57 ` Bruce Ashfield
  0 siblings, 1 reply; 3+ messages in thread
From: jpuhlman @ 2023-12-21 17:34 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Jeremy A. Puhlman

From: "Jeremy A. Puhlman" <jpuhlman@mvista.com>

sysvinit/redhat no longer exists in the sources, move to using
debian sysvinit scripts if sysvinit is enabled in distro features.

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

diff --git a/recipes-extended/cloud-init/cloud-init_git.bb b/recipes-extended/cloud-init/cloud-init_git.bb
index 9d84f47e..edc6372f 100644
--- a/recipes-extended/cloud-init/cloud-init_git.bb
+++ b/recipes-extended/cloud-init/cloud-init_git.bb
@@ -25,7 +25,7 @@ do_install:append() {
     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/
+       install -m 755 ${S}/sysvinit/debian/* ${D}${sysconfdir}/init.d/
     fi
 
 }
-- 
2.31.1



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

* Re: [meta-virtualization][PATCH] cloud-init: replace sysvinit/redhat with sysvinit/debian
  2023-12-21 17:34 [meta-virtualization][PATCH] cloud-init: replace sysvinit/redhat with sysvinit/debian jpuhlman
@ 2023-12-21 17:57 ` Bruce Ashfield
  2023-12-21 17:59   ` Jeremy Puhlman
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Ashfield @ 2023-12-21 17:57 UTC (permalink / raw)
  To: jpuhlman; +Cc: meta-virtualization

I have this already staged on master-next:

https://git.yoctoproject.org/meta-virtualization/commit/?h=master-next&id=dd8fa86c6a85b44d77ae9579453e57aebd7296db

Bruce

On Thu, Dec 21, 2023 at 12:34 PM Jeremy Puhlman via
lists.yoctoproject.org <jpuhlman=mvista.com@lists.yoctoproject.org>
wrote:
>
> From: "Jeremy A. Puhlman" <jpuhlman@mvista.com>
>
> sysvinit/redhat no longer exists in the sources, move to using
> debian sysvinit scripts if sysvinit is enabled in distro features.
>
> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
> ---
>  recipes-extended/cloud-init/cloud-init_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-extended/cloud-init/cloud-init_git.bb b/recipes-extended/cloud-init/cloud-init_git.bb
> index 9d84f47e..edc6372f 100644
> --- a/recipes-extended/cloud-init/cloud-init_git.bb
> +++ b/recipes-extended/cloud-init/cloud-init_git.bb
> @@ -25,7 +25,7 @@ do_install:append() {
>      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/
> +       install -m 755 ${S}/sysvinit/debian/* ${D}${sysconfdir}/init.d/
>      fi
>
>  }
> --
> 2.31.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#8523): https://lists.yoctoproject.org/g/meta-virtualization/message/8523
> Mute This Topic: https://lists.yoctoproject.org/mt/103304302/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


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

* Re: [meta-virtualization][PATCH] cloud-init: replace sysvinit/redhat with sysvinit/debian
  2023-12-21 17:57 ` Bruce Ashfield
@ 2023-12-21 17:59   ` Jeremy Puhlman
  0 siblings, 0 replies; 3+ messages in thread
From: Jeremy Puhlman @ 2023-12-21 17:59 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: meta-virtualization

Ah great!

On 12/21/2023 9:57 AM, Bruce Ashfield wrote:
> I have this already staged on master-next:
>
> https://git.yoctoproject.org/meta-virtualization/commit/?h=master-next&id=dd8fa86c6a85b44d77ae9579453e57aebd7296db
>
> Bruce
>
> On Thu, Dec 21, 2023 at 12:34 PM Jeremy Puhlman via
> lists.yoctoproject.org <jpuhlman=mvista.com@lists.yoctoproject.org>
> wrote:
>> From: "Jeremy A. Puhlman" <jpuhlman@mvista.com>
>>
>> sysvinit/redhat no longer exists in the sources, move to using
>> debian sysvinit scripts if sysvinit is enabled in distro features.
>>
>> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
>> ---
>>   recipes-extended/cloud-init/cloud-init_git.bb | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/recipes-extended/cloud-init/cloud-init_git.bb b/recipes-extended/cloud-init/cloud-init_git.bb
>> index 9d84f47e..edc6372f 100644
>> --- a/recipes-extended/cloud-init/cloud-init_git.bb
>> +++ b/recipes-extended/cloud-init/cloud-init_git.bb
>> @@ -25,7 +25,7 @@ do_install:append() {
>>       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/
>> +       install -m 755 ${S}/sysvinit/debian/* ${D}${sysconfdir}/init.d/
>>       fi
>>
>>   }
>> --
>> 2.31.1
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#8523): https://lists.yoctoproject.org/g/meta-virtualization/message/8523
>> Mute This Topic: https://lists.yoctoproject.org/mt/103304302/1050810
>> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
>> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>

-- 
Jeremy Puhlman
jpuhlman@mvista.com



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

end of thread, other threads:[~2023-12-21 17:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-21 17:34 [meta-virtualization][PATCH] cloud-init: replace sysvinit/redhat with sysvinit/debian jpuhlman
2023-12-21 17:57 ` Bruce Ashfield
2023-12-21 17:59   ` Jeremy 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.