From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-83536-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 5BE6D138206
	for <garchives@archives.gentoo.org>; Thu, 18 Jan 2018 22:53:50 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6005DE0946;
	Thu, 18 Jan 2018 22:53:44 +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 0472AE08B1
	for <gentoo-dev@lists.gentoo.org>; Thu, 18 Jan 2018 22:53:43 +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=6jMrHJxuQa49gGsXP9JLpybsPu7nlImBc+9b/eN/Jbw=; b=Th7gwFRlkjSPpiakRh44DTiEA1
	JdZUL0g7bo1ypui1g/JiT9IFFg6xpqcOTgN8XKEq0VQg9orFV17P/aUWjfuA8H0VzrKGG0WSSzcMa
	KuXHmfcVjmqppoi9H21CYMtu253hxZTnmlrJ1ho/0wavcjhtxvGuT52Uzu8IvliAbNp0=;
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 1ecJ41-000212-Po
	for gentoo-dev@lists.gentoo.org; Fri, 19 Jan 2018 01:53:41 +0300
Message-ID: <1516316010.2345.3.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:53:30 +0300
In-Reply-To: <1516314656.2345.1.camel@tsoy.me>
References: <2686de8e-334c-084b-4828-6109b10dd536@gentoo.org>
	 <1516314656.2345.1.camel@tsoy.me>
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: 0ba791e0-ffa6-465e-b60b-afba20ce5d1d
X-Archives-Hash: e7cb66aa7f7e803083078001cda387aa

В Пт, 19/01/2018 в 01:30 +0300, Alexander Tsoy пишет:
> В Чт, 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.

Oops. Forget the last part about inherit(). You need only profiles dir.
I experimented on a host with local overlay thus I got inherit
errors. :)