From 7d4ede329817288b2fc866fdd466e60e79e628b6 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 19 Jul 2022 21:13:45 +0100 Subject: [PATCH] CI: use apt-get instead of apt wrapper When used in a non-interactive context, apt prints a warning: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Use apt-get directly to avoid putting warnings in the logs. Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f91d678a..f3ca24d3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,7 +25,7 @@ stages: - mkdir --verbose --parents $KAS_WORK_DIR $KAS_REPO_REF_DIR $SSTATE_DIR $DL_DIR $TOOLCHAIN_DIR $TOOLCHAIN_LINK_DIR # Must do this here, as it's the only way to make sure the toolchain is installed on the same builder - ./ci/get-binary-toolchains $DL_DIR $TOOLCHAIN_DIR $TOOLCHAIN_LINK_DIR - - sudo apt update && sudo apt install --yes telnet python3-subunit + - sudo apt-get update && sudo apt-get install --yes telnet python3-subunit # Generalised fragment to do a Kas build .build: