1 |
Andrew Gaffney wrote: |
2 |
> I posted this on -user 1 1/2 hours ago, but I haven't gotten a response |
3 |
> and I need this for tomorrow. |
4 |
> |
5 |
> Tomorrow, I'm going to a friend's house to try to install Gentoo on his |
6 |
> HP 7100/715 machine. I've got the latest HPPA LiveCD, the latest stage |
7 |
> tarballs for HPPA, and a couple portage snapshots. Now, I want to know |
8 |
> what distfiles I'm going to need for a given portage snapshot. Would |
9 |
> something like the following work from my x86 Gentoo box? |
10 |
> |
11 |
> tar -C /tmp/portage -xjf portage-20040607.tar.bz2 |
12 |
> PORTDIR="/tmp/portage" ACCEPT_KEYWORDS="-* hppa" emerge -epf system > |
13 |
> /tmp/distfiles.txt |
14 |
> mkdir /tmp/distfiles |
15 |
> cd /tmp/distfiles |
16 |
> wget -i /tmp/distfiles.txt |
17 |
> |
18 |
> Would this give me all of the distfiles that I'll need to bootstrap and |
19 |
> run 'emerge system' on the HPPA machine? |
20 |
> |
21 |
|
22 |
You'd need something like this |
23 |
# emerge -epf system 2>&1 | grep -v '>>> md5 src_uri'|awk '{print $1}' |
24 |
to list all required files. |
25 |
It displays only the first mirror but I suppose you could handle the missing |
26 |
files manually, if any. |
27 |
|
28 |
hth, |
29 |
-- |
30 |
/ Xavier Neys |
31 |
\_ Gentoo Documentation Project |
32 |
/ French & Internationalisation Lead |
33 |
\ http://www.gentoo.org/doc/en |
34 |
/\ |