From: "Jeremy A. Puhlman" <[email protected]>

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 <[email protected]>
---
 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/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to