Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HELP] emerge --info | grep ^USE outputs too many USE flags
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
ultra_reader
n00b
n00b


Joined: 22 Jun 2019
Posts: 5
Location: Buenos Aires

PostPosted: Fri Jun 28, 2019 10:48 pm    Post subject: [HELP] emerge --info | grep ^USE outputs too many USE flags Reply with quote

Hello there!

I've just installed Gentoo for the first time.

During installation I chose "desktop/gnome (stable)" profile but after finally rebooting when I check out /etc/portage/make.conf I only see one flag which I never got to used static-libs.

But if emerge --info | grep ^USE a lot of other flags are shown. I suppose those are the flags set when choosing the profile during installation.

My question is How can it be possible that 2 ways of checking out flags output different results?

Thx!!!!
Back to top
View user's profile Send private message
etnull
Guru
Guru


Joined: 26 Mar 2019
Posts: 327

PostPosted: Fri Jun 28, 2019 11:18 pm    Post subject: Reply with quote

USE flags in your make.conf work as an addition on top of your profile USE flags.
I assume it's done this way to make it easier to choose your 'base' system from which you can refine up or down without cluttering your make.conf that much.
Back to top
View user's profile Send private message
ultra_reader
n00b
n00b


Joined: 22 Jun 2019
Posts: 5
Location: Buenos Aires

PostPosted: Sat Jun 29, 2019 6:51 pm    Post subject: Reply with quote

etnull wrote:
USE flags in your make.conf work as an addition on top of your profile USE flags.
I assume it's done this way to make it easier to choose your 'base' system from which you can refine up or down without cluttering your make.conf that much.


Thx @etnull Is there any config file for profile USE flgas?
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1703

PostPosted: Sat Jun 29, 2019 7:15 pm    Post subject: Reply with quote

The flags you set in make.conf are meant to override the default flags. Default flags can be defined by the profile (for example, profiles/targets/desktop/gnome/package.use), or by an ebuild itself (it would have IUSE="+flag" in it). You can't change these as they would be overwritten next time you do emerge --sync. Flags set by the profile or the ebuild are usually good defaults. But if you don't like them, you can either switch to a profile that suits you better, or override them with make.conf or /etc/portage/package.use.
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jun 29, 2019 7:22 pm    Post subject: Reply with quote

ultra_reader,

USE flags are set in an hierarchical manner.

At the top level are the USE flags that come with your profile.
The next layer are your additions and subtractions in make.conf
Together, this defines your global USE settnig.

Further down still are your per package USE settings defined in /etc/portage/package.use

Portage works with all of these.

For completeness, You may set USE=... on the emerge command line. That's useful for testing but portage will not remember those settings, so they will be reverted later.

For the paranoid, there is a special USE flag that turns off all USE flags set before it.
_________________
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