Makefile: install alias, not symlink
ln -s errors out with file exists if you run make install.systemd twice or more. This patch installs the alias directly w/o using a symlink so it can be run multiple times w/o errors. Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
e5ec48b686
commit
d26ad19327
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -152,8 +152,8 @@ 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.service $(PREFIX)/lib/systemd/system/cri-o.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
|
||||
|
|
Loading…
Reference in a new issue