diff options
-rw-r--r-- | recipes-containers/docker/docker.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-containers/docker/docker.inc b/recipes-containers/docker/docker.inc index cd4d27b9..610da568 100644 --- a/recipes-containers/docker/docker.inc +++ b/recipes-containers/docker/docker.inc | |||
@@ -120,7 +120,8 @@ do_install() { | |||
120 | # replaces one copied from above with one that uses the local registry for a mirror | 120 | # replaces one copied from above with one that uses the local registry for a mirror |
121 | install -m 644 ${S}/src/import/contrib/init/systemd/docker.service ${D}/${systemd_unitdir}/system | 121 | install -m 644 ${S}/src/import/contrib/init/systemd/docker.service ${D}/${systemd_unitdir}/system |
122 | rm -f ${D}/${systemd_unitdir}/system/docker.service.rpm | 122 | rm -f ${D}/${systemd_unitdir}/system/docker.service.rpm |
123 | else | 123 | fi |
124 | if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then | ||
124 | install -d ${D}${sysconfdir}/init.d | 125 | install -d ${D}${sysconfdir}/init.d |
125 | install -m 0755 ${WORKDIR}/docker.init ${D}${sysconfdir}/init.d/docker.init | 126 | install -m 0755 ${WORKDIR}/docker.init ${D}${sysconfdir}/init.d/docker.init |
126 | fi | 127 | fi |