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
This commit is contained in:
parent
241b17da12
commit
939f8c5c0e
@ -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
|
Thu Aug 25 15:56:00 UTC 2016 - jmassaguerpla@suse.com
|
||||||
|
|
||||||
|
@ -136,6 +136,7 @@ go test -timeout 3m -tags "$BUILDTAGS" -v $PKG_LIST
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%{__install} -D -m755 %{name}-%{version} %{buildroot}%{_sbindir}/%{name}
|
%{__install} -D -m755 %{name}-%{version} %{buildroot}%{_sbindir}/%{name}
|
||||||
|
ln -s %{_sbindir}/%{name} %{buildroot}/%{_sbindir}/docker-%{name}
|
||||||
install -d -m755 %{buildroot}/usr/src/runc/
|
install -d -m755 %{buildroot}/usr/src/runc/
|
||||||
cp -avr $HOME/go/src/github.com/opencontainers/runc/* %{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)
|
%defattr(-,root,root)
|
||||||
%doc README.md LICENSE
|
%doc README.md LICENSE
|
||||||
%{_sbindir}/%{name}
|
%{_sbindir}/%{name}
|
||||||
|
%{_sbindir}/docker-%{name}
|
||||||
|
|
||||||
%ifarch %go_arches
|
%ifarch %go_arches
|
||||||
%{_mandir}/man8/runc*.8.gz
|
%{_mandir}/man8/runc*.8.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user