Gentoo Archives: gentoo-dev

From: Kurt Lieber <klieber@g.o>
To: Stuart Herbert <stuart@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] How do we build the Portage metadata cache for rsync users?
Date: Fri, 25 Jun 2004 11:03:05
Message-Id: 20040625110525.GD18023@mail.lieber.org
In Reply to: [gentoo-dev] How do we build the Portage metadata cache for rsync users? by Stuart Herbert
1 On Fri, Jun 25, 2004 at 06:53:36AM +0100 or thereabouts, Stuart Herbert wrote:
2 > Subject says it all really. Where can I find the *exact* command line that we
3 > run to create the contents of /var/cache/edb for users who get the Portage
4 > tree via rsync?
5
6 FEATURES="mirror -cvs -digest" \
7 ACCEPT_KEYWORDS="x86 ~x86 ppc ~ppc sparc ~sparc alpha ~alpha hppa ~hppa
8 mips ~mips amd64 ~amd64 *" \
9 PORTDIR=<userdir>/gentoo-x86 \
10 PORTAGE_TMPFS=<userdir>/tmpfs \
11 PORTAGE_CACHEDIR=<userdir>/gentoo-x86/metadata/cache/ \
12 PORTDIR_OVERLAY="" \
13 emerge --verbose --debug regen >>${LOGFILE}.verbose 2>&1
14
15 There's obviously a script around that, but it just does logging and
16 whatnot. That's the command that performs the magic. (I sanitized the
17 directories in the variables a bit because I'm paranoid.)
18
19 --kurt

Replies