package-cli: Remove redundant rm -rf build/data

Moving symlinks to containerd to a for loop makes maintenance easier.
It also reveals a duplicate, redundant, rm -rf build/data and one
duplicate, redundant, rm -rf bin/kubectl, that can be both be purged.

Change-Id: Id81a05dcf2dadcc60ef8171494a284fbe1630400
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
This commit is contained in:
Joakim Roubert 2020-03-06 13:34:56 +01:00 committed by Joakim Roubert
parent b313c196a1
commit 9307fcc332

View File

@ -8,7 +8,8 @@ cd $(dirname $0)/..
GO=${GO-go} GO=${GO-go}
for i in crictl kubectl k3s-agent k3s-server k3s; do for i in crictl kubectl k3s-agent k3s-server k3s; do
ln -fs containerd bin/$i rm -f bin/$i
ln -s containerd bin/$i
done done
for i in bridge flannel host-local loopback portmap; do for i in bridge flannel host-local loopback portmap; do