From: Noel Kuntze Date: Thu, 22 Apr 2021 12:28:34 +0000 (+0200) Subject: testing: Make sure $SHAREDDIR exists before mounting it X-Git-Tag: 5.9.3dr2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5191c2b063ff71078af886294eedb78b5bd5a021;p=thirdparty%2Fstrongswan.git testing: Make sure $SHAREDDIR exists before mounting it Closes strongswan/strongswan#344. --- diff --git a/testing/scripts/build-strongswan b/testing/scripts/build-strongswan index af1a53ee89..bfc1727773 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"