Removed docker-engine.service 79/164779/1
authorwansu.yoo <wansu.yoo@samsung.com>
Thu, 21 Dec 2017 04:16:03 +0000 (13:16 +0900)
committerwansu.yoo <wansu.yoo@samsung.com>
Thu, 21 Dec 2017 04:20:29 +0000 (13:20 +0900)
After docker-engine was seperated as service, there is some issues about
communication from docker engine via curl.
So, remove it at this time, and it will be applied after fixed those isses.

Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
Change-Id: I2d4e89f2e30f857f98598883f00f772def03a542

packaging/docker-engine.spec

index 1bf12c4..355eb3d 100755 (executable)
@@ -127,11 +127,11 @@ install -p -m 755 .%container_path/containerd/bin/containerd $RPM_BUILD_ROOT/%{_
 install -p -m 755 .%container_path/containerd/bin/containerd-shim $RPM_BUILD_ROOT/%{_bindir}/docker-containerd-shim
 install -p -m 755 .%container_path/containerd/bin/ctr $RPM_BUILD_ROOT/%{_bindir}/docker-containerd-ctr
 mkdir -p %{buildroot}/usr/lib/systemd/system/multi-user.target.wants
-mkdir -p %{buildroot}/usr/lib/systemd/system/sockets.target.wants
-install -m 0644 %SOURCE2 %{buildroot}/usr/lib/systemd/system/%{name}.service
-ln -s ../%{name}.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/
-install -m 0644 %SOURCE3 %{buildroot}/usr/lib/systemd/system/%{name}.socket
-ln -s ../%{name}.socket %{buildroot}/usr/lib/systemd/system/sockets.target.wants/
+### mkdir -p %{buildroot}/usr/lib/systemd/system/sockets.target.wants
+### install -m 0644 %SOURCE2 %{buildroot}/usr/lib/systemd/system/%{name}.service
+### ln -s ../%{name}.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/
+### install -m 0644 %SOURCE3 %{buildroot}/usr/lib/systemd/system/%{name}.socket
+### ln -s ../%{name}.socket %{buildroot}/usr/lib/systemd/system/sockets.target.wants/
 
 %files
 %manifest %{name}.manifest
@@ -142,8 +142,8 @@ ln -s ../%{name}.socket %{buildroot}/usr/lib/systemd/system/sockets.target.wants
 /%{_bindir}/docker-containerd-shim
 /%{_bindir}/docker-containerd-ctr
 /%{_bindir}/docker-runc
-/usr/lib/systemd/system/%{name}.service
-/usr/lib/systemd/system/multi-user.target.wants/%{name}.service
-/usr/lib/systemd/system/%{name}.socket
-/usr/lib/systemd/system/sockets.target.wants/%{name}.socket
+### /usr/lib/systemd/system/%{name}.service
+### /usr/lib/systemd/system/multi-user.target.wants/%{name}.service
+### /usr/lib/systemd/system/%{name}.socket
+### /usr/lib/systemd/system/sockets.target.wants/%{name}.socket
 %license .%docker_path/engine/LICENSE