On 11:44 Wed 06 Jul     , Mike Markowski wrote:
> I'll be changing jobs Monday and want to be sure I bring along enough to
> easily rebuild the sort of gentoo set up I currently enjoy.
> 
> After installing, will it be enough to use my current
> /var/lib/portage/world and /etc/make.conf followed by 'emerge -uDf
> world', etc., to get me going?  Or am I overlooking other important
> system files?  (I'll remember to remove hardware dependent world entries
> like graphics card drivers.)
> 
> Thanks!
> Mike

Not exactly - you can't just copy /var/lib/portage/world, since portage
will complain about packages in the world file not being installed (at
least, that was the behaviour not long ago and I don't imagine it's
changed).

You can however copy /var/lib/portage/world to some other location on
your new computer, and do something like emerge `cat oldworld`.

You might want to copy things other than just /etc/make.conf from your
current install - if you've edited any config files (say /etc/vim/vimrc,
for example). I can't think of anything you'll definitely want to copy
across when changing computers, just stuff that you know you've edited a
lot and don't want to loose. (Oh, and I assume you know that you might
need to have a different make.conf to before depending on how different
the 2 computers are).

Dave

-- 
gentoo-user@gentoo.org mailing list

Reply via email to