install-critools: make sure DESTDIR exists
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
e830c5364c
commit
546538971c
@ -34,6 +34,7 @@ git checkout "$CRITEST_COMMIT"
|
|||||||
make
|
make
|
||||||
make install -e DESTDIR=${DESTDIR:=''} BINDIR=/usr/local/bin
|
make install -e DESTDIR=${DESTDIR:=''} BINDIR=/usr/local/bin
|
||||||
|
|
||||||
|
mkdir -p ${DESTDIR:=''}/etc/
|
||||||
cat << EOF | tee ${DESTDIR:=''}/etc/crictl.yaml
|
cat << EOF | tee ${DESTDIR:=''}/etc/crictl.yaml
|
||||||
runtime-endpoint: unix:///run/containerd/containerd.sock
|
runtime-endpoint: unix:///run/containerd/containerd.sock
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user