Gentoo Archives: gentoo-user

From: Florian Philipp <lists@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Updating a Standalone
Date: Fri, 12 Aug 2011 10:34:17
Message-Id: 4E450159.9060701@binarywings.net
In Reply to: [gentoo-user] Updating a Standalone by dhk
1 Am 12.08.2011 11:58, schrieb dhk:
2 > I have a Gentoo Box that is a standalone with no internet access. Is
3 > there a way I can update it by using my laptop?
4 >
5 > It would be nice to be able to sync a copy of my world list on my laptop
6 > without clobbering my laptop's world list. Then do a fetch for the
7 > standalone world and when on the console pf the standalone do the update
8 > to the fetched packages on the laptop. The idea is not to have the
9 > laptop as an image of the standalone, but as a server to sync to while
10 > keeping the laptop's world separate.
11 >
12 > Thanks,
13 >
14 > dhk
15 >
16
17 emerge supports an environment variable PORTAGE_CONFIGROOT which
18 specifies the root directory for stuff like
19 $PORTAGE_CONFIGROOT/etc/make.conf
20 $PORTAGE_CONFIGROOT/var/lib/portage/world
21 and so on.
22
23 You can simply copy all relevant files over to your laptop, in a
24 dedicated directory structure and then run
25 emerge --fetchonly --config-root <custom_dir> -avuD @world
26
27 There is also a ROOT environment variable (and --root parameter). You
28 might have to play around with both to get the right results.
29
30 If you play around with ROOT, I'd be happy to hear some experiences.
31 especially where it affects portage and where not.
32
33 Hope this helps,
34 Florian Philipp

Attachments

File name MIME type
signature.asc application/pgp-signature