From 23c66c7bdfc1e8aa2cb5502998f40fe3aa5f4d97 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 13 Jul 2017 21:02:04 +0000 Subject: [PATCH] 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 --- Makefile | 1 + contrib/rpm/crio.spec | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 4871c39e..4c634ffa 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/contrib/rpm/crio.spec b/contrib/rpm/crio.spec index 44f1a035..bd7dd3f7 100644 --- a/contrib/rpm/crio.spec +++ b/contrib/rpm/crio.spec @@ -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