From: Florian Philipp <lists@binarywings.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Updating a Standalone
Date: Fri, 12 Aug 2011 12:32:57 +0200 [thread overview]
Message-ID: <4E450159.9060701@binarywings.net> (raw)
In-Reply-To: <4E44F92F.2000004@optonline.net>
[-- Attachment #1: Type: text/plain, Size: 1275 bytes --]
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?
>
> It would be nice to be able to sync a copy of my world list on my laptop
> 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 update
> 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.
>
> Thanks,
>
> dhk
>
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
next prev parent reply other threads:[~2011-08-12 10:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-12 9:58 [gentoo-user] Updating a Standalone dhk
2011-08-12 10:16 ` [gentoo-user] " Nikos Chantziaras
2011-08-12 10:25 ` Pandu Poluan
2011-08-12 10:35 ` dhk
2011-08-12 10:37 ` Mick
2011-08-12 11:53 ` James Broadhead
2011-08-12 14:21 ` Grant Edwards
2011-08-12 10:32 ` Florian Philipp [this message]
2011-08-12 13:26 ` [gentoo-user] " Thanasis
2011-08-12 14:08 ` Paul Hartman
2011-08-12 14:43 ` Thanasis
2011-08-24 21:34 ` dhk
2011-08-24 22:19 ` Neil Bothwick
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=4E450159.9060701@binarywings.net \
--to=lists@binarywings.net \
--cc=gentoo-user@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