Switch to a tmp GOPATH for make install.deps
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
This commit is contained in:
@@ -37,8 +37,6 @@ NOSUDO=true INSTALL_CNI=${INCLUDE_CNI} DESTDIR=${destdir} ./hack/install-deps.sh
|
||||
# Install cri-containerd into release stage.
|
||||
make install -e DESTDIR=${destdir}
|
||||
|
||||
# Copy crictl tool into release stage
|
||||
cp ${GOPATH}/bin/crictl ${destdir}/usr/local/bin/
|
||||
# Install systemd units into release stage.
|
||||
mkdir -p ${destdir}/etc/systemd/system
|
||||
cp ${ROOT}/contrib/systemd-units/* ${destdir}/etc/systemd/system/
|
||||
|
||||
Reference in New Issue
Block a user