From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 627861389E2 for ; Wed, 17 Dec 2014 06:27:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BDBB0E08F8; Wed, 17 Dec 2014 06:27:28 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 67EFEE08F2 for ; Wed, 17 Dec 2014 06:27:27 +0000 (UTC) Received: from localhost ([84.133.169.198]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LanoO-1Xd2k133BA-00kMIl for ; Wed, 17 Dec 2014 07:27:26 +0100 Date: Wed, 17 Dec 2014 07:27:24 +0100 From: meino.cramer@gmx.de To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] question/feature request: First fetch, then compile... Message-ID: <20141217062724.GB4439@solfire> References: <20141217054855.GA4439@solfire> <54912066.3000506@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54912066.3000506@gmail.com> User-Agent: mutt-ng/devel-r804 (Linux) X-Provags-ID: V03:K0:pE5A4Hg2tsm48X7EmJ0ilJZBKGHbjLagcJezpLVMydrCLkfg70a lPuRs9XqmnDHrA1z3EF1YqFpiRNwQO6grwQ/CVo98ngJ5jJ7PYe8McEUMQZTwk9JHc4ZPT8 h/kvCVRi0TtHngNaqyPmg31RfsscD/UfScL/OLxEhm/GvJU9EcttHzMCUMFFeZ+8yUea4h3 w00h6TtDlTywwTjiXa6+w== X-UI-Out-Filterresults: notjunk:1; X-Archives-Salt: aa092e51-555e-42d8-b29e-cdd064b3022f X-Archives-Hash: 86ad8bd499d244c44baae8784d3ca258 Dale [14-12-17 07:20]: > meino.cramer@gmx.de wrote: > > Hi, > > > > On my embedded systems (beaglebone black, 2 x Arietta G25) I installed > > Gentoo (of course!:). > > Since these systems and especially the Ariettas are not as fast as a > > PC the greater update, which additionally includes C++ sources to > > compile takes time (read: hours) to finish. Often I run this over > > night. > > > > Since my PC do the forwarding of requests to the internet, it has to > > run the whole time also. > > > > To circumvent this I access the embedded systems via abduco/dvtm, so > > I can log out while the process keeps running. > > > > The current (shorted decription) workflow is > > > > eix-sync > > emerge ... -f (fetching all items, so the connection to the internet is > > no longer needed) > > emerge ... (starting the compilation, logout and shutdown the PC) > > > > > > This includes "Calculating dependencies" twice of the same set of > > data, which also takes a longer time. This is -- technically -- not > > needed. > > > > Is it possible, to do ONE call to emerge, which asks (according > > to option -a, if set ) and given a yes first fetches ALL necessary > > files and data and compiles then everything? > > > > This would save one "Calculating dependencies" and also reduces writes > > to the flash memory. > > > > Is it currently possible somehow and if not: I would like to have it > > included as new feature into an upcoming release of emerge?!?! > > > > Thanks a lot in advance! 8) > > Best regards, > > Meino > > > > > > > > > > > You may want to set this in your make.conf file: > > FEATURES="parallel-fetch" > > What that does, as soon as you start the emerge process, it starts to > download the needed files. It doesn't wait until it is ready to work on > the package to download it. I've had that set for so long, no idea if > anything has changed as far as defaults. I just know it works that way > here. > > If you set that, you should be able to sync, start emerge and when it > downloads the last files/tarballs it needs, you can then remove your > internet connection. You can monitor that with this command. > > tail -f /var/log/emerge-fetch.log > > Hope that helps. > > Dale > > :-) :-) Hi Dale, thanks for your reply ! :) I know of that flag, but it does not exaclty what I want. It parallelizes compilation and downloading. How can I exactly determine, that the last file has been downloaded without watching the monitor all the (because these are embedded systems: "long") time? Best regards, Meino