From fa8414b66052e78a4a54d315a2b626132b9113b7 Mon Sep 17 00:00:00 2001 From: Felix Moessbauer Date: Fri, 29 Jul 2022 08:30:16 +0200 Subject: [PATCH] remove obsolete schroot mntpoint in kas-container This patch is an addendum to 54ab356f and removes the external mount used for the schroot. This is no longer required as the schroot is now placed in TMPDIR which is already mounted from the host. This patch does not break backward compatibility, as neither an ISAR release nor a KAS release happened while this code path was active. Signed-off-by: Felix Moessbauer Signed-off-by: Jan Kiszka --- kas-container | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kas-container b/kas-container index ea611b9..54c4104 100755 --- a/kas-container +++ b/kas-container @@ -92,10 +92,6 @@ enable_isar_mode() { KAS_CONTAINER_IMAGE_NAME_DEFAULT="kas-isar" KAS_ISAR_ARGS="--privileged" - SCHROOT_OVERLAY_DIR="${KAS_BUILD_DIR}/tmp/schroot-overlay" - trace mkdir -p "${SCHROOT_OVERLAY_DIR}" - KAS_ISAR_ARGS="${KAS_ISAR_ARGS} -v ${SCHROOT_OVERLAY_DIR}:/var/lib/schroot/union/overlay:rw" - if [ "${KAS_CONTAINER_ENGINE}" = "podman" ]; then # sudo is needed for a privileged podman container KAS_CONTAINER_COMMAND="sudo --preserve-env ${KAS_CONTAINER_COMMAND}"