diff --git a/elements/yum-minimal/root.d/08-yum-chroot b/elements/yum-minimal/root.d/08-yum-chroot index 4a4e1eca0..73ee27159 100755 --- a/elements/yum-minimal/root.d/08-yum-chroot +++ b/elements/yum-minimal/root.d/08-yum-chroot @@ -38,6 +38,7 @@ EACTION="rm -r $WORKING" trap "$EACTION" EXIT YUM_CACHE=$DIB_IMAGE_CACHE/yum +mkdir -p $YUM_CACHE # install the [fedora|centos]-[release|repo] packages inside the # chroot, which are needed to bootstrap yum/dnf