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