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:
parent
2b18d58d60
commit
23c66c7bdf
2 changed files with 2 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -155,6 +155,7 @@ install.completions:
|
||||||
install.systemd:
|
install.systemd:
|
||||||
install -D -m 644 contrib/systemd/crio.service $(PREFIX)/lib/systemd/system/crio.service
|
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
|
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:
|
uninstall:
|
||||||
rm -f $(BINDIR)/crio
|
rm -f $(BINDIR)/crio
|
||||||
|
|
|
@ -18,6 +18,7 @@ Group: Applications/Text
|
||||||
License: Apache 2.0
|
License: Apache 2.0
|
||||||
URL: https://%{provider_prefix}
|
URL: https://%{provider_prefix}
|
||||||
Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
|
Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
|
||||||
|
Provides: %{repo}
|
||||||
|
|
||||||
BuildRequires: golang-github-cpuguy83-go-md2man
|
BuildRequires: golang-github-cpuguy83-go-md2man
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue