From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-83535-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 2D9A0138206
	for <garchives@archives.gentoo.org>; Thu, 18 Jan 2018 22:31:16 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1D941E0976;
	Thu, 18 Jan 2018 22:31:10 +0000 (UTC)
Received: from puleglot.ru (puleglot.ru [IPv6:2a01:4f8:c17:1f58::2])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id B5896E096D
	for <gentoo-dev@lists.gentoo.org>; Thu, 18 Jan 2018 22:31:09 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tsoy.me;
	s=mymail; h=Sender:Content-Transfer-Encoding:Mime-Version:Content-Type:
	References:In-Reply-To:Date:To:From:Subject:Message-ID:Reply-To:Cc:Content-ID
	:Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:
	Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe
	:List-Post:List-Owner:List-Archive;
	bh=9x3iI9FY9kgTRyRIFJa70oa1KM6BjyBOLQ9BEA46B08=; b=ldjkOCn4xBsiXWn27TmWVAiZl6
	9KaMTlQQs8JGdEnXrOEJyLCPNN/HgQjRzfBqysj7gPkfbZTgXmZVYG5TDbgej3B23yfk0kF8/p9a4
	qn4topuFa6itKO2eFFuXS3VLcV/bGmALYLvPlJCIXALC/2S99SaF2TvAH7qoFJAGTkKc=;
Received: from ppp109-252-105-39.pppoe.spdop.ru ([109.252.105.39] helo=[192.168.1.5])
	by puleglot.ru with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
	(Exim 4.89)
	(envelope-from <puleglot@puleglot.ru>)
	id 1ecIiB-0001xP-I7
	for gentoo-dev@lists.gentoo.org; Fri, 19 Jan 2018 01:31:07 +0300
Message-ID: <1516314656.2345.1.camel@tsoy.me>
Subject: Re: [gentoo-dev] Managing updates on many identical Gentoo systems
From: Alexander Tsoy <alexander@tsoy.me>
To: gentoo-dev@lists.gentoo.org
Date: Fri, 19 Jan 2018 01:30:56 +0300
In-Reply-To: <2686de8e-334c-084b-4828-6109b10dd536@gentoo.org>
References: <2686de8e-334c-084b-4828-6109b10dd536@gentoo.org>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.22.6 
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
Sender: puleglot@puleglot.ru
X-Archives-Salt: 2854fbe5-ec89-4200-a83c-469114946df2
X-Archives-Hash: a766e5dd7d4dd3c1a1538c9ef9688cdb

В Чт, 18/01/2018 в 06:46 -0500, Anthony G. Basile пишет:
> 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).
> Furthermore, each machine would have to run emerge locally to do the
> calculation of what packages need updating.

AFAIK each machine only needs "profiles" and "eclass" directories and
not the full repo. eclass dir is needed because of the check below in
ebuild.sh:


inherit()
...
    [[ -z ${location} ]] && die "${1}.eclass could not be found by
inherit()"

And this check actually should be skipped for binary packages. They are
already contain full environment.