Gentoo Archives: gentoo-user

From: "Michael A. Smith" <michael@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Using 'world' file to clone another machine
Date: Wed, 25 Jan 2006 21:08:50
Message-Id: 43D7E793.7050500@smith-li.com
In Reply to: Re: [gentoo-user] Using 'world' file to clone another machine by "Michael A. Smith"
1 Michael A. Smith wrote:
2 > Jeff wrote:
3 >
4 >> I'm sure this one's been asked a million times too...
5 >>
6 >> Machine A, runs Gentoo/KDE and a handful of other apps I've collected
7 >> over the year.
8 >>
9 >> I would like Machine B to have the same exact packages.
10 >>
11 >> How would I use Machine A's /var/lib/portage/world file to make my
12 >> 'clone'?
13 >>
14 >> Thanks all.
15 >
16 >
17 > Hypothetically (I haven't tried it.)
18 >
19 > 1) scp a:/etc/make.conf b:/etc/make.conf
20 > 2) modify the CFLAGS in b:/etc/make.conf to suit, but leave the USE
21 > unchanged.
22 > 3) do a basic install on b, you'll want to make sure it can boot into a
23 > kernel before you do the next step.
24 > 4) scp a:/var/lib/portage/world b:/tmp/welcome_to_my_world.lst
25 > 5) emerge `cat /tmp/welcome_to_my_world.lst`
26 >
27 >
28 >
29 > Have a nice day.
30
31 Correction. emerge --ask `cat /tmp/welcome_to_my_world.lst`
32
33 ;-D
34 --
35 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Using 'world' file to clone another machine Chris White <chriswhite@g.o>