From 5f514c1d1087d0fbfe5888052a6a8c5ad7f6a739 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jul 2015 20:40:56 +0100 Subject: special delivery to StefanCristian ... make vasile keep distfiles around, to save tons of bandwidth --- vasile | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- cgit v1.2.3