From: Zac Medico <zmedico@gentoo.org>
To: Alec Warner <antarus@gentoo.org>,
Gentoo Dev <gentoo-dev@lists.gentoo.org>,
Zac Medico <zmedico@gentoo.org>
Subject: Re: [gentoo-dev] Managing updates on many identical Gentoo systems
Date: Thu, 18 Jan 2018 15:01:44 -0800 [thread overview]
Message-ID: <af85e0d8-62bf-dce0-2360-070c897f8b86@gentoo.org> (raw)
In-Reply-To: <CAAr7Pr8o8f4AHKEsOmpA1FdAsTHsq2vJjqTmOKrSF0wdoodNpQ@mail.gmail.com>
On 01/18/2018 08:13 AM, Alec Warner wrote:
> On Thu, Jan 18, 2018 at 6:46 AM, Anthony G. Basile <blueness@gentoo.org
> <mailto:blueness@gentoo.org>> wrote:
>
> Hi everyone,
>
> I'm trying to design an update system for many identical Gentoo systems.
> Using a binhost is obvious, but there are still problems with this
> approach.
>
> Unless there's some magic I don't know about (and this is why I'm
> sending this email) each machine still needs to have the portage tree
> installed locally (1.5 GB) or somehow mounted by a network filesystem
> (which is not practical if the machines are not on a local network).
>
>
> +Zac
>
> I don't believe this is true; with the correct binhost configuration
> portage should:
>
> 1) Contact the binhost to get a dump of packages available on it.
> 2) Use that dump to create a 'virtual portage tree' (bindb).
> 3) Use the bindb for package discovery (is foo available) and dependency
> calculation.
It's already possible if you use PORTAGE_BINHOST and create a dummy
profile to satisfy portage. I've filed this bug to create a convenient
option for this:
https://bugs.gentoo.org/644990
>
> Furthermore, each machine would have to run emerge locally to do the
> calculation of what packages need updating.
>
>
> The good news is that with a bindb; the package tree itself is much
> smaller. ::gentoo is 23000 packages.
> But you bindb is only as large as you build binpkgs for and publish
> them. So say stage3 + some other stuff.
> Around 500 packages perhaps.
Doing the calculation on the client side is fine, since binary package
calculations are much simpler than source-based ebuild calculations.
--
Thanks,
Zac
next prev parent reply other threads:[~2018-01-18 23:01 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-18 11:46 [gentoo-dev] Managing updates on many identical Gentoo systems Anthony G. Basile
2018-01-18 12:00 ` Joakim Tjernlund
2018-01-18 12:34 ` Lars Wendler
2018-01-18 19:22 ` NP-Hardass
2018-01-18 12:42 ` Martin Gysel
2018-01-18 15:36 ` [gentoo-dev] " Duncan
2018-01-18 22:13 ` Bill Kenworthy
2018-01-19 14:45 ` Alec Warner
2018-01-19 15:03 ` Anthony G. Basile
2018-01-19 18:13 ` Zac Medico
2018-01-20 15:34 ` Anthony G. Basile
2018-01-20 21:48 ` Zac Medico
2018-01-18 16:13 ` [gentoo-dev] " Alec Warner
2018-01-18 23:01 ` Zac Medico [this message]
2018-01-18 22:30 ` Alexander Tsoy
2018-01-18 22:53 ` Alexander Tsoy
2018-01-18 23:00 ` R0b0t1
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=af85e0d8-62bf-dce0-2360-070c897f8b86@gentoo.org \
--to=zmedico@gentoo.org \
--cc=antarus@gentoo.org \
--cc=gentoo-dev@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