diff options
author | Jeremy Puhlman <jpuhlman@mvista.com> | 2022-06-21 18:00:11 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-06-27 23:38:33 -0400 |
commit | 320f44c6e9af463a85b58e0d87ca70273c6b87f6 (patch) | |
tree | c29a1c7a772451fc300891d40e7c7333b8d64fa0 | |
parent | c40479b7351d3d9aff4721e35f6b2108c8486d14 (diff) | |
download | meta-virtualization-320f44c6e9af463a85b58e0d87ca70273c6b87f6.tar.gz |
cloud-init: install sysvinit initscripts
The redhat versions work with out modification.
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-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 |