Gentoo Archives: gentoo-dev

From: Andrew Gaffney <agaffney@×××××××××××.com>
To: Xavier Neys <neysx@g.o>
Cc: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] figuring out what files I need for a HPPA install
Date: Mon, 14 Jun 2004 13:56:12
Message-Id: 40CDAE16.1000705@skylineaero.com
In Reply to: Re: [gentoo-dev] figuring out what files I need for a HPPA install by Xavier Neys
1 Xavier Neys wrote:
2 > Andrew Gaffney wrote:
3 >
4 >> I posted this on -user 1 1/2 hours ago, but I haven't gotten a
5 >> response and I need this for tomorrow.
6 >>
7 >> Tomorrow, I'm going to a friend's house to try to install Gentoo on
8 >> his HP 7100/715 machine. I've got the latest HPPA LiveCD, the latest
9 >> stage tarballs for HPPA, and a couple portage snapshots. Now, I want
10 >> to know what distfiles I'm going to need for a given portage snapshot.
11 >> Would something like the following work from my x86 Gentoo box?
12 >>
13 >> tar -C /tmp/portage -xjf portage-20040607.tar.bz2
14 >> PORTDIR="/tmp/portage" ACCEPT_KEYWORDS="-* hppa" emerge -epf system >
15 >> /tmp/distfiles.txt
16 >> mkdir /tmp/distfiles
17 >> cd /tmp/distfiles
18 >> wget -i /tmp/distfiles.txt
19 >>
20 >> Would this give me all of the distfiles that I'll need to bootstrap
21 >> and run 'emerge system' on the HPPA machine?
22 >>
23 >
24 > You'd need something like this
25 > # emerge -epf system 2>&1 | grep -v '>>> md5 src_uri'|awk '{print $1}'
26 > to list all required files.
27 > It displays only the first mirror but I suppose you could handle the
28 > missing files manually, if any.
29
30 I never got around to actually using it, because I went to bed shortly after I
31 posted and left early the next morning. Although, wouldn't I need to temporarily
32 link /etc/make.profile to /usr/portage/profiles/whatever-hppa-whatever to get an
33 accurate list of packages needed?
34
35 --
36 Andrew Gaffney
37 Network Administrator
38 Skyline Aeronautics, LLC.
39 636-357-1548
40
41
42 --
43 gentoo-dev@g.o mailing list