Make the MIRROR_TARGET directory if it didn't exist
Just adding an element shouldn't make a disk image build crash, even if we're not using the element for its intended purpose. Change-Id: I2ec91ce4975b3b0deee7c85bb223f854c694553f
This commit is contained in:
parent
22cc3900a5
commit
c2ccfa6504
@ -5,5 +5,5 @@ set -eu
|
|||||||
MIRROR_SOURCE=~/.cache/image-create/pypi/mirror/
|
MIRROR_SOURCE=~/.cache/image-create/pypi/mirror/
|
||||||
MIRROR_TARGET=$TMP_MOUNT_PATH/tmp/pypi
|
MIRROR_TARGET=$TMP_MOUNT_PATH/tmp/pypi
|
||||||
|
|
||||||
sudo mkdir -p $MIRROR_TARGET
|
sudo mkdir -p $MIRROR_SOURCE $MIRROR_TARGET
|
||||||
sudo mount --bind $MIRROR_SOURCE $TMP_MOUNT_PATH/tmp/pypi
|
sudo mount --bind $MIRROR_SOURCE $TMP_MOUNT_PATH/tmp/pypi
|
||||||
|
Loading…
Reference in New Issue
Block a user