We need to support the name cri-o and crio for rpm and systemd

Adding these aliases will make it easier for users who forget to
use crio or cri-o.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh 2017-07-13 21:02:04 +00:00
parent 2b18d58d60
commit 23c66c7bdf
2 changed files with 2 additions and 0 deletions

View File

@ -155,6 +155,7 @@ install.completions:
install.systemd:
install -D -m 644 contrib/systemd/crio.service $(PREFIX)/lib/systemd/system/crio.service
install -D -m 644 contrib/systemd/crio-shutdown.service $(PREFIX)/lib/systemd/system/crio-shutdown.service
ln -s crio.service $(PREFIX)/lib/systemd/system/cri-o.service
uninstall:
rm -f $(BINDIR)/crio

View File

@ -18,6 +18,7 @@ Group: Applications/Text
License: Apache 2.0
URL: https://%{provider_prefix}
Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
Provides: %{repo}
BuildRequires: golang-github-cpuguy83-go-md2man