From 6d05401c38eb7ccc35e2f46848e40af57b57fd8e Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Fri, 17 Feb 2017 13:26:04 -0500 Subject: [PATCH] docker: use .service file from contrib Oru existing docker.service file is using an out of date command. We can use the contrib .service file instead .. and hopefully it will stay up to date. Signed-off-by: Bruce Ashfield --- recipes-containers/docker/docker_git.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes-containers/docker/docker_git.bb b/recipes-containers/docker/docker_git.bb index 009fe9fe..46ad26e9 100644 --- a/recipes-containers/docker/docker_git.bb +++ b/recipes-containers/docker/docker_git.bb @@ -21,7 +21,6 @@ DESCRIPTION = "Linux container runtime \ SRCREV = "49bf474f9ed7ce7143a59d1964ff7b7fd9b52178" SRC_URI = "\ git://github.com/docker/docker.git;nobranch=1 \ - file://docker.service \ file://docker.init \ file://hi.Dockerfile \ file://context-use-golang.org-x-net-pkg-until-we-move-to-go.patch \ @@ -140,7 +139,7 @@ do_install() { install -d ${D}${systemd_unitdir}/system install -m 644 ${S}/contrib/init/systemd/docker.* ${D}/${systemd_unitdir}/system # replaces one copied from above with one that uses the local registry for a mirror - install -m 644 ${WORKDIR}/docker.service ${D}/${systemd_unitdir}/system + install -m 644 ${S}/contrib/init/systemd/docker.service ${D}/${systemd_unitdir}/system else install -d ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/docker.init ${D}${sysconfdir}/init.d/docker.init