From 939f8c5c0e84b9adbad9d11677a7bc983ddd79d8c2a27ea28b41d05ceee3e71f Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Thu, 25 Aug 2016 17:13:43 +0000 Subject: [PATCH] Accepting request 422238 from home:jordimassaguerpla:branch:Vc:symlink_runc - Create a symlink /usr/sbin/docker-runc -> /usr/sbin/docker Docker expects this symlink to exist OBS-URL: https://build.opensuse.org/request/show/422238 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=21 --- runc.changes | 6 ++++++ runc.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/runc.changes b/runc.changes index f154bd1..d5bdbe3 100644 --- a/runc.changes +++ b/runc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 25 17:02:33 UTC 2016 - jmassaguerpla@suse.com + +- Create a symlink /usr/sbin/docker-runc -> /usr/sbin/docker + Docker expects this symlink to exist + ------------------------------------------------------------------- Thu Aug 25 15:56:00 UTC 2016 - jmassaguerpla@suse.com diff --git a/runc.spec b/runc.spec index c618e81..6fc1cb6 100644 --- a/runc.spec +++ b/runc.spec @@ -136,6 +136,7 @@ go test -timeout 3m -tags "$BUILDTAGS" -v $PKG_LIST %install %{__install} -D -m755 %{name}-%{version} %{buildroot}%{_sbindir}/%{name} +ln -s %{_sbindir}/%{name} %{buildroot}/%{_sbindir}/docker-%{name} install -d -m755 %{buildroot}/usr/src/runc/ cp -avr $HOME/go/src/github.com/opencontainers/runc/* %{buildroot}/usr/src/runc/ @@ -148,6 +149,7 @@ cp -avr $HOME/go/src/github.com/opencontainers/runc/* %{buildroot}/usr/src/runc/ %defattr(-,root,root) %doc README.md LICENSE %{_sbindir}/%{name} +%{_sbindir}/docker-%{name} %ifarch %go_arches %{_mandir}/man8/runc*.8.gz