[gentoo-user] Same setup different machine

2006-03-21 Thread Matt Richards
Hello, I use gentoo for X11 and diskless clients (aswell as other things)
and was just wondering if its possiable to make an existing server spit
out a list of packages that are currently installed so i can copy to a new
server and have it install everything without me having to go through
spending lots of time running emerge lots of times.

Thanks,

Matt.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Same setup different machine

2006-03-21 Thread Richard Fish
On 3/21/06, Matt Richards [EMAIL PROTECTED] wrote:
 Hello, I use gentoo for X11 and diskless clients (aswell as other things)
 and was just wondering if its possiable to make an existing server spit
 out a list of packages that are currently installed so i can copy to a new
 server and have it install everything without me having to go through
 spending lots of time running emerge lots of times.

All packages installed by portage:

(cd /var/db/pkg ; ls -d */*)

But probably what you really want is /var/lib/portage/world.  On a
system with the same USE flags, keywords, masks and unmasks, emerging
everything listed in world will result in the same set of packages
installed.

-Richard

-- 
gentoo-user@gentoo.org mailing list