From 5191c2b063ff71078af886294eedb78b5bd5a021 Mon Sep 17 00:00:00 2001 From: Noel Kuntze Date: Thu, 22 Apr 2021 14:28:34 +0200 Subject: [PATCH] testing: Make sure $SHAREDDIR exists before mounting it Closes strongswan/strongswan#344. --- testing/scripts/build-strongswan | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/scripts/build-strongswan b/testing/scripts/build-strongswan index af1a53ee8..bfc172777 100755 --- a/testing/scripts/build-strongswan +++ b/testing/scripts/build-strongswan @@ -123,6 +123,7 @@ log_action "Mounting proc filesystem to $LOOPDIR/proc" execute "mount -t proc none $LOOPDIR/proc" do_on_exit umount $LOOPDIR/proc +mkdir -p $SHAREDDIR mkdir -p $LOOPDIR/root/shared log_action "Mounting $SHAREDDIR as /root/shared" execute "mount -o bind $SHAREDDIR $LOOPDIR/root/shared"