From 3362604f845a6c211f6b7ecae5ea1b0fd508ef13 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Fri, 2 Jan 2026 17:07:11 +0100 Subject: [PATCH] Create /mnt/ folder in case it is missing in CI runners Sometimes we get a worker that does not have /mnt filesystem mounted. In this case we will attempt to use the same approach as with other jobs - we will just create empty /mnt folder and hope the disk space will be enough to run the job we want to run --- scripts/ci/make_mnt_writeable.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/ci/make_mnt_writeable.sh b/scripts/ci/make_mnt_writeable.sh index 028b4e571f0ee..019d457d5b4c2 100755 --- a/scripts/ci/make_mnt_writeable.sh +++ b/scripts/ci/make_mnt_writeable.sh @@ -22,8 +22,9 @@ function make_mnt_writeable { sudo blkid echo "Check that we have expected /mnt to be a separate mount" if ! lsblk | grep -q /mnt; then - echo "/mnt is missing as a separate mount, runner misconfigured!" - exit 42 + echo "!!!! /mnt is missing as a separate mount, runner misconfigured!" + echo "Creating /mnt drive hoping that it will be enough space to use in /" + sudo mkdir -p /mnt/ fi echo "Checking free space!" df -H