diff --git a/elements/zypper/root.d/50-zypper-cache b/elements/zypper/root.d/50-zypper-cache index 947499efa..101dd7cb8 100755 --- a/elements/zypper/root.d/50-zypper-cache +++ b/elements/zypper/root.d/50-zypper-cache @@ -8,4 +8,5 @@ set -o pipefail ZYPPER_CACHE_DIR=~/.cache/image-create/zypper mkdir -p $ZYPPER_CACHE_DIR +sudo mkdir -p $TMP_MOUNT_PATH/var/cache/zypp sudo mount --bind $ZYPPER_CACHE_DIR $TMP_MOUNT_PATH/var/cache/zypp