summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-07-29 20:40:56 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-07-29 20:40:56 +0100
commit5f514c1d1087d0fbfe5888052a6a8c5ad7f6a739 (patch)
treeff055ffae0efa4c1760482ba1dd90474348ef081
parent300025ee22ed8a9c7510346fe88d3fef78720bdf (diff)
special delivery to StefanCristian ... make vasile keep distfiles around, to save tons of bandwidth
-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