meta-virtualization.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: jpuhlman@mvista.com
To: meta-virtualization@lists.yoctoproject.org
Cc: "Jeremy A. Puhlman" <jpuhlman@mvista.com>
Subject: [meta-virtualization][PATCH] cloud-init: replace sysvinit/redhat with sysvinit/debian
Date: Thu, 21 Dec 2023 09:34:38 -0800	[thread overview]
Message-ID: <20231221173438.3684990-1-jpuhlman@mvista.com> (raw)

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



             reply	other threads:[~2023-12-21 17:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-21 17:34 jpuhlman [this message]
2023-12-21 17:57 ` [meta-virtualization][PATCH] cloud-init: replace sysvinit/redhat with sysvinit/debian Bruce Ashfield
2023-12-21 17:59   ` Jeremy Puhlman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231221173438.3684990-1-jpuhlman@mvista.com \
    --to=jpuhlman@mvista.com \
    --cc=meta-virtualization@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).