summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xvasile11
1 files changed, 11 insertions, 0 deletions
diff --git a/vasile b/vasile
index ce26b0f..d13ac5d 100755
--- a/vasile
+++ b/vasile
@@ -45,6 +45,17 @@ envkogaionstart () {
break
fi
done
+ # keep distfiles around
+ while : true ; do
+ if [[ ! -d distfiles ]] ; then
+ mkdir distfiles
+ mount -o bind distfiles "$overlaydir"/usr/portage/distfiles
+ break
+ elif [[ -d distfiles ]]
+ mount -o bind distfiles "$overlaydir"/usr/portage/distfiles
+ break
+ fi
+ done
# bind mount targets inside clean build environment managed by vasile, we really need them to be in there
mount -o bind targets "$overlaydir"/mnt
mount -t proc proc "$overlaydir"/proc