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