summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2018-07-03 11:42:03 +0800
committerChase Qi <chase.qi@linaro.org>2018-07-03 11:47:30 +0800
commiteb4e90b8b39b6f918e27efc8b217b4968d06f7cb (patch)
treecf71a67173848ba6d154cbd4ee585304cce550cb
parent5272120113eb175ab245bd63c8ac65cd7e8e6940 (diff)
linux/smoke: install dependencies for vmstat and ip commands
vmstat and ip commands are not included in debian stretch-slim docker image, so install the related dependencies by default. Change-Id: I5f3d8394f31b0848524d9bb1af481c4c9f4e0924 Signed-off-by: Chase Qi <chase.qi@linaro.org>
-rwxr-xr-xautomated/linux/smoke/smoke.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/automated/linux/smoke/smoke.sh b/automated/linux/smoke/smoke.sh
index 75db48d..f50f8ba 100755
--- a/automated/linux/smoke/smoke.sh
+++ b/automated/linux/smoke/smoke.sh
@@ -24,8 +24,8 @@ install() {
dist_name
# shellcheck disable=SC2154
case "${dist}" in
- debian|ubuntu) install_deps "lsb-release" "${SKIP_INSTALL}";;
- fedora|centos) install_deps "redhat-lsb-core" "${SKIP_INSTALL}";;
+ debian|ubuntu) install_deps "lsb-release procps iproute2" "${SKIP_INSTALL}";;
+ fedora|centos) install_deps "redhat-lsb-core procps iproute" "${SKIP_INSTALL}";;
unknown) warn_msg "Unsupported distro: package install skipped" ;;
esac
}