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 <felix.moessbauer@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
bce8a916fa
commit
fa8414b660
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user