From fa88d4212300cbe3c9c535a148414239ab0f8507 Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Tue, 24 Jan 2023 20:41:47 +0100 Subject: [PATCH] ci: Fix APPEND_APT_SOURCES_LIST trying to modify the host system --- ci/test/04_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test/04_install.sh b/ci/test/04_install.sh index 9bfe555243d..53fe6d961ff 100755 --- a/ci/test/04_install.sh +++ b/ci/test/04_install.sh @@ -93,7 +93,7 @@ elif [ "$CI_USE_APT_INSTALL" != "no" ]; then CI_EXEC_ROOT add-apt-repository ppa:hadret/bpfcc fi if [[ -n "${APPEND_APT_SOURCES_LIST}" ]]; then - CI_EXEC_ROOT echo "${APPEND_APT_SOURCES_LIST}" >> /etc/apt/sources.list + CI_EXEC_ROOT echo "${APPEND_APT_SOURCES_LIST}" \>\> /etc/apt/sources.list fi ${CI_RETRY_EXE} CI_EXEC_ROOT apt-get update ${CI_RETRY_EXE} CI_EXEC_ROOT apt-get install --no-install-recommends --no-upgrade -y "$PACKAGES" "$CI_BASE_PACKAGES"