Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Rebuild system in @system set and @world set due to CFLAGS
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
md500
n00b
n00b


Joined: 16 Jun 2016
Posts: 4

PostPosted: Sat Nov 19, 2016 7:51 pm    Post subject: Rebuild system in @system set and @world set due to CFLAGS Reply with quote

Anyone know how to rebuild whole system (which are been updated for me explicitely in @system and @world set?) because for CFLAGS variable change? (ej --march=native to --march=<any cpu type>)

ej: I want to rebuild my system to backup my system and migrate for a new PC (amd cpu to intel cpu)

I know what making a backup without changing CFLAGS variable and switching to a new pc (which have a different cpu) will make my system unbootable/unstable due to broken compatibility cpu.

will:

Code:
eix-update ; emerge -uvDN1 --with-bdeps=y --keep-going=y @system ; revdep-rebuild ; emerge -uvDN --with-bdeps=y --keep-going=y @world ; revdep-rebuild ; emerge @module-rebuild


this job?

Any advice/help will be appreciated.

PD: Sorry for my bad english
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Nov 19, 2016 8:40 pm    Post subject: Reply with quote

md500,

The @world set includes the @system set, so
Code:
emerge -e @world --with-bdeps=y --keep-going
should do what you want.
You may not need --with-bdeps=y with -e but its safe.
_________________
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
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