diff --git a/.local/bin/chroot_testing b/.local/bin/chroot_testing index 4429841..745039e 100755 --- a/.local/bin/chroot_testing +++ b/.local/bin/chroot_testing @@ -30,6 +30,8 @@ mount -o bind,ro ~tea/src/gentoo ${chroot_dir}/var/db/repos/gentoo mount -o bind,ro ~tea/src/guru ${chroot_dir}/var/db/repos/guru mount -o bind,ro ~tea/src/tastytea-overlay ${chroot_dir}/var/db/repos/tastytea +mount -o bind /var/cache/distfiles ${chroot_dir}/var/cache/distfiles + chroot ${chroot_dir} /bin/bash -l function _try_umount() { @@ -40,6 +42,8 @@ function _try_umount() { setopt ERR_RETURN } +_try_umount ${chroot_dir}/var/cache/distfiles + _try_umount ${chroot_dir}/var/db/repos/tastytea _try_umount ${chroot_dir}/var/db/repos/guru _try_umount ${chroot_dir}/var/db/repos/gentoo