From 3d85e51ef4284f572cb658cfe69edc92ac3a53bb Mon Sep 17 00:00:00 2001 From: Tibor Vass Date: Wed, 13 Apr 2016 09:49:40 -0400 Subject: [PATCH] runc install path changed from /usr/local/bin to /usr/local/sbin Signed-off-by: Tibor Vass --- hack/make/.build-deb/rules | 2 +- hack/make/.build-rpm/docker-engine.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/make/.build-deb/rules b/hack/make/.build-deb/rules index 651105f7a8..9d999ebaaf 100755 --- a/hack/make/.build-deb/rules +++ b/hack/make/.build-deb/rules @@ -23,7 +23,7 @@ override_dh_auto_install: cp -aT /usr/local/bin/containerd debian/docker-engine/usr/bin/docker-containerd cp -aT /usr/local/bin/containerd-shim debian/docker-engine/usr/bin/docker-containerd-shim cp -aT /usr/local/bin/ctr debian/docker-engine/usr/bin/docker-containerd-ctr - cp -aT /usr/local/bin/runc debian/docker-engine/usr/bin/docker-runc + cp -aT /usr/local/sbin/runc debian/docker-engine/usr/bin/docker-runc mkdir -p debian/docker-engine/usr/lib/docker override_dh_installinit: diff --git a/hack/make/.build-rpm/docker-engine.spec b/hack/make/.build-rpm/docker-engine.spec index 4f366dd39d..e0fb5c8801 100644 --- a/hack/make/.build-rpm/docker-engine.spec +++ b/hack/make/.build-rpm/docker-engine.spec @@ -125,7 +125,7 @@ install -p -m 755 /usr/local/bin/containerd-shim $RPM_BUILD_ROOT/%{_bindir}/dock install -p -m 755 /usr/local/bin/ctr $RPM_BUILD_ROOT/%{_bindir}/docker-containerd-ctr # install runc -install -p -m 755 /usr/local/bin/runc $RPM_BUILD_ROOT/%{_bindir}/docker-runc +install -p -m 755 /usr/local/sbin/runc $RPM_BUILD_ROOT/%{_bindir}/docker-runc # install udev rules install -d $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d