File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ install-cri-deps: $(BINARIES)
280280 @install -m 644 containerd.service ${CRIDIR} /etc/systemd/system
281281 echo " CONTAINERD_VERSION: '$( VERSION:v%=%) '" | tee ${CRIDIR} /opt/containerd/cluster/version
282282
283- DESTDIR=$(CRIDIR) USESUDO=false script/setup/install-runc
283+ DESTDIR=$(CRIDIR) script/setup/install-runc
284284 DESTDIR=$(CRIDIR) script/setup/install-cni
285285 DESTDIR=$(CRIDIR) script/setup/install-critools
286286
Original file line number Diff line number Diff line change @@ -27,14 +27,7 @@ function install_runc() {
2727 cd " $GOPATH " /src/github.com/opencontainers/runc
2828 git checkout $RUNC_COMMIT
2929 make BUILDTAGS=' apparmor seccomp selinux' runc
30-
31- USESUDO=${USESUDO:- false}
32- if ${USESUDO} ; then
33- SUDO=' sudo -E'
34- else
35- SUDO=' '
36- fi
37- ${SUDO} make install
30+ make install
3831}
3932
4033function install_crun() {
You can’t perform that action at this time.
0 commit comments