Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Copying make.conf and any package.use and customs sets
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
alaurie
n00b
n00b


Joined: 17 Jul 2023
Posts: 10

PostPosted: Tue Aug 01, 2023 4:24 am    Post subject: Copying make.conf and any package.use and customs sets Reply with quote

Hi all,

I've got Gentoo setup on my laptop the way I want now with everything working. I want to transition my main workstation over now as well. Am I fine in copying over the make.conf, package.use, accept and custom sets over to the workstation and doing an emerge after the main install in the handbook? Obviously I would need to tweak a few things that were laptop specific in the copied config (there is no intel graphics on the workstation for instance.)
Back to top
View user's profile Send private message
Lebkoungcity
Apprentice
Apprentice


Joined: 16 Nov 2008
Posts: 212
Location: near Lebkoungcity (='Gingerbreadcity' =Nuremberg)

PostPosted: Tue Aug 01, 2023 7:51 am    Post subject: Reply with quote

Hi alaurie,

yes, you can copy those files from /etc/portage you mentioned and /var/lib/portage/world (Be careful not to mess it up if you'd edit it by hand!) to the other machine to have a similar setup as a starting point. I'd recommend to backup the original files on the 'new' machine so you can go back / check for differences if something is not acting as expected in the process of transition. Just don't do it blindly and check the output of emerge before hitting enter - just like you said you would :wink:

Happy compiling!
Andy
_________________
"The most dangerous world view is the world view of the ones who haven't viewed the world."
Alexander von Humboldt (1769-1859)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54304
Location: 56N 3W

PostPosted: Tue Aug 01, 2023 10:13 am    Post subject: Reply with quote

alaurie,

You can cheat a bit more ...

Copy the world file over too.
Run
Code:
emerge -eav @world --keep-going --jobs=2


If you fine tune your CFLAGS and CPU_X86_FLAGS for the new home, portage will rebuild things for its new home.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 781
Location: over here

PostPosted: Tue Aug 01, 2023 9:15 pm    Post subject: Re: Copying make.conf and any package.use and customs sets Reply with quote

alaurie wrote:
Hi all,

I've got Gentoo setup on my laptop the way I want now


You haven't got enough time on your hands j/k

Seriously though, what ^they said.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum