Skip to content

Commit 1edada4

Browse files
committed
Makefile: remove install.cni
We no longer need to install /etc/cni/net.d/87-podman-bridge.conflist so install.cni isn't needed either. Signed-off-by: Lokesh Mandvekar <[email protected]>
1 parent 0a0ade3 commit 1edada4

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

Makefile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ podman-release.tar.gz: binaries docs ## Build all binaries, docs., and installa
613613
$(eval TMPDIR := $(shell mktemp -d podman_tmp_XXXX))
614614
$(eval SUBDIR := podman-v$(RELEASE_NUMBER))
615615
mkdir -p "$(TMPDIR)/$(SUBDIR)"
616-
$(MAKE) install.bin install.man install.cni \
616+
$(MAKE) install.bin install.man \
617617
install.systemd "DESTDIR=$(TMPDIR)/$(SUBDIR)" "PREFIX=/usr"
618618
tar -czvf $@ --xattrs -C "$(TMPDIR)" "./$(SUBDIR)"
619619
-rm -rf "$(TMPDIR)"
@@ -666,7 +666,7 @@ package-install: package ## Install rpm packages
666666
/usr/bin/podman info # will catch a broken conmon
667667

668668
.PHONY: install
669-
install: .gopathok install.bin install.remote install.man install.cni install.systemd ## Install binaries to system locations
669+
install: .gopathok install.bin install.remote install.man install.systemd ## Install binaries to system locations
670670

671671
.PHONY: install.catatonit
672672
install.catatonit:
@@ -719,11 +719,6 @@ install.completions:
719719
install ${SELINUXOPT} -m 644 completions/fish/podman-remote.fish ${DESTDIR}${FISHINSTALLDIR}
720720
# There is no common location for powershell files so do not install them. Users have to source the file from their powershell profile.
721721

722-
.PHONY: install.cni
723-
install.cni:
724-
install ${SELINUXOPT} -d -m 755 ${DESTDIR}${ETCDIR}/cni/net.d/
725-
install ${SELINUXOPT} -m 644 cni/87-podman-bridge.conflist ${DESTDIR}${ETCDIR}/cni/net.d/87-podman-bridge.conflist
726-
727722
.PHONY: install.docker
728723
install.docker:
729724
install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(BINDIR)

contrib/spec/podman.spec.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ PODMAN_VERSION=%{version} %{__make} PREFIX=%{buildroot}%{_prefix} ETCDIR=%{build
441441
%if %{with doc}
442442
install.man-nobuild \
443443
%endif
444-
install.cni \
445444
install.systemd \
446445
install.completions
447446

@@ -526,7 +525,6 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
526525
%{_datadir}/bash-completion/completions/*
527526
%{_datadir}/zsh/site-functions/*
528527
%{_datadir}/fish/vendor_completions.d/*
529-
%config(noreplace) %{_sysconfdir}/cni/net.d/87-%{name}-bridge.conflist
530528
%{_unitdir}/podman-auto-update.service
531529
%{_unitdir}/podman-auto-update.timer
532530
%{_unitdir}/podman.service

0 commit comments

Comments
 (0)