diff options
-rw-r--r-- | recipes-extended/cloud-init/cloud-init_21.4.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-extended/cloud-init/cloud-init_21.4.bb b/recipes-extended/cloud-init/cloud-init_21.4.bb index 9c2dae79..5cb62272 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 | |||
19 | do_install:append() { | 19 | do_install:append() { |
20 | ln -s ${libdir}/${BPN}/uncloud-init ${D}${sysconfdir}/cloud/uncloud-init | 20 | ln -s ${libdir}/${BPN}/uncloud-init ${D}${sysconfdir}/cloud/uncloud-init |
21 | ln -s ${libdir}/${BPN}/write-ssh-key-fingerprints ${D}${sysconfdir}/cloud/write-ssh-key-fingerprints | 21 | ln -s ${libdir}/${BPN}/write-ssh-key-fingerprints ${D}${sysconfdir}/cloud/write-ssh-key-fingerprints |
22 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | ||
23 | install -m 755 -d ${D}${sysconfdir}/init.d/ | ||
24 | install -m 755 ${S}/sysvinit/redhat/* ${D}${sysconfdir}/init.d/ | ||
25 | fi | ||
26 | |||
22 | } | 27 | } |
23 | 28 | ||
24 | inherit pkgconfig | 29 | inherit pkgconfig |