From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-126776-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Qrp4D-0007KN-Bz
	for garchives@archives.gentoo.org; Fri, 12 Aug 2011 10:34:17 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id EE83421C237;
	Fri, 12 Aug 2011 10:34:07 +0000 (UTC)
Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27])
	by pigeon.gentoo.org (Postfix) with ESMTP id 7344F21C230
	for <gentoo-user@lists.gentoo.org>; Fri, 12 Aug 2011 10:33:10 +0000 (UTC)
Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43])
	by gateway1.messagingengine.com (Postfix) with ESMTP id 2EE6C21424
	for <gentoo-user@lists.gentoo.org>; Fri, 12 Aug 2011 06:33:10 -0400 (EDT)
Received: from frontend2.messagingengine.com ([10.202.2.161])
  by compute3.internal (MEProxy); Fri, 12 Aug 2011 06:33:10 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=message-id:date:from:mime-version:to
	:subject:references:in-reply-to:content-type; s=smtpout; bh=qEVO
	wddBqhbig14sKDU0Ykeqhd4=; b=aFUMCjx5canDk1wziF1T4PBcHw43/ypyeinZ
	7xVshhzoeWM0gBVmOsAVorZHqfqmh01ZkUcigif5HuK6iSueJWmmLi37sa9FoKI/
	+d5radprpVbXCWSiAfjrm3zHfbM5Bwr0AnlTe0i+R+2jCtyuAhU3usZcI5ijq0b/
	PpfesGU=
X-Sasl-enc: o1zqXyj8uNyifvBt22hlvQK3cDRxLH2idfDoHbwsv7TF 1313145188
Received: from [192.168.5.18] (serv.binarywings.net [83.169.5.6])
	by mail.messagingengine.com (Postfix) with ESMTPSA id A42D245D25A
	for <gentoo-user@lists.gentoo.org>; Fri, 12 Aug 2011 06:33:07 -0400 (EDT)
Message-ID: <4E450159.9060701@binarywings.net>
Date: Fri, 12 Aug 2011 12:32:57 +0200
From: Florian Philipp <lists@binarywings.net>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110730 Lightning/1.0b3pre Thunderbird/3.1.10
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Updating a Standalone
References: <4E44F92F.2000004@optonline.net>
In-Reply-To: <4E44F92F.2000004@optonline.net>
X-Enigmail-Version: 1.1.2
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="------------enig9CC29AC4E884162A92B31CFE"
X-Archives-Salt: 
X-Archives-Hash: 2c1089a670dbd7ddc39657fac360d850

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig9CC29AC4E884162A92B31CFE
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Am 12.08.2011 11:58, schrieb dhk:
> I have a Gentoo Box that is a standalone with no internet access.  Is
> there a way I can update it by using my laptop?
>=20
> It would be nice to be able to sync a copy of my world list on my lapto=
p
> without clobbering my laptop's world list.  Then do a fetch for the
> standalone world and when on the console pf the standalone do the updat=
e
> to the fetched packages on the laptop.  The idea is not to have the
> laptop as an image of the standalone, but as a server to sync to while
> keeping the laptop's world separate.
>=20
> Thanks,
>=20
> dhk
>=20

emerge supports an environment variable PORTAGE_CONFIGROOT which
specifies the root directory for stuff like
$PORTAGE_CONFIGROOT/etc/make.conf
$PORTAGE_CONFIGROOT/var/lib/portage/world
and so on.

You can simply copy all relevant files over to your laptop, in a
dedicated directory structure and then run
emerge --fetchonly --config-root <custom_dir> -avuD @world

There is also a ROOT environment variable (and --root parameter). You
might have to play around with both to get the right results.

If you play around with ROOT, I'd be happy to hear some experiences.
especially where it affects portage and where not.

Hope this helps,
Florian Philipp


--------------enig9CC29AC4E884162A92B31CFE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5FAV0ACgkQqs4uOUlOuU8oFgCfTjIeMZZyeFYq2wn0zmYmgSfX
ZUMAmQFw8NRAshsbOqrDxIP0hl3wpxm1
=jVBq
-----END PGP SIGNATURE-----

--------------enig9CC29AC4E884162A92B31CFE--