public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Randolph Maaßen" <r.maassen60@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] question/feature request: First fetch, then compile...
Date: Wed, 17 Dec 2014 07:34:55 +0100	[thread overview]
Message-ID: <CAOEsN6bd=-iJeNUxDAuFBOeQ-Re5R-Q0_DMgta7Uo3_8y1s9JQ@mail.gmail.com> (raw)
In-Reply-To: <20141217062724.GB4439@solfire>

[-- Attachment #1: Type: text/plain, Size: 3055 bytes --]

On Dec 17, 2014 7:28 AM, <meino.cramer@gmx.de> wrote:
>
> Dale <rdalek1967@gmail.com> [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
>
>
>
>
>
>
>
>
You can disable this feature, so compiling will start when everything is
fetched. I'm not sure weather portage has some post-fetch or pre-build
hook, with one of these you could send a shutdown message from the embedded
system to your PC.

[-- Attachment #2: Type: text/html, Size: 4360 bytes --]

  reply	other threads:[~2014-12-17  6:35 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-17  5:48 [gentoo-user] question/feature request: First fetch, then compile meino.cramer
2014-12-17  6:19 ` Dale
2014-12-17  6:27   ` meino.cramer
2014-12-17  6:34     ` Randolph Maaßen [this message]
2014-12-17  6:36     ` Dale
2014-12-17  6:41       ` Dale
2014-12-17  6:53         ` meino.cramer
2014-12-17  9:36           ` Neil Bothwick
2014-12-17  9:52             ` meino.cramer
2014-12-17 10:02               ` Dale
2014-12-17 12:13               ` Neil Bothwick
2014-12-17 13:58                 ` Matti Nykyri
2014-12-17 14:31                   ` meino.cramer
2014-12-17 15:25                     ` Poison BL.
2014-12-17  7:45 ` Helmut Jarausch
2014-12-17  8:22   ` Alan McKinnon
2014-12-17  8:41     ` meino.cramer
2014-12-17  8:42       ` Alan McKinnon
2014-12-17 18:24       ` Frank Steinmetzger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOEsN6bd=-iJeNUxDAuFBOeQ-Re5R-Q0_DMgta7Uo3_8y1s9JQ@mail.gmail.com' \
    --to=r.maassen60@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox