Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Listing up all USE flags based on current setting
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
jryu
n00b
n00b


Joined: 26 Jun 2014
Posts: 4

PostPosted: Thu Jun 26, 2014 6:31 pm    Post subject: [SOLVED] Listing up all USE flags based on current setting Reply with quote

IIUC, set of selected USE flags are sum of all flags in all make.defaults listed in /etc/portage/make.profile points +/- what's in make.conf

Is there a tool which sums up current set of USE flags for me, so that I can focus on those when editing make.profile?


Last edited by jryu on Thu Jun 26, 2014 7:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Thu Jun 26, 2014 6:43 pm    Post subject: Reply with quote

jryu,

Welcome to Gentoo

Do not edit make.profile. make.profile is a symbolic link into /user/portage, so it gets updated with emerge --sync, then all your changes will be lost.

Use flags are 'stacked' as you say.
At the top are the settings in your profile - do not mess with these.
Next, are the USE settings in make.conf. Here you can turn flags on an off.
Further down still is /etc/portage/package.use. Per package USE settings go here.
Last are USE flags on the command line. Doing this is normally a very bad idea as portage will not store these settings

There are several USE flag editors in portage. ufed and profuse come to mind..
_________________
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
jryu
n00b
n00b


Joined: 26 Jun 2014
Posts: 4

PostPosted: Thu Jun 26, 2014 7:18 pm    Post subject: Reply with quote

oh, yes. tools like ufed and profuse are what I was looking for.
Back to top
View user's profile Send private message
EmaRsk
n00b
n00b


Joined: 07 Sep 2004
Posts: 63
Location: Italy

PostPosted: Fri Jun 27, 2014 1:19 pm    Post subject: Reply with quote

Another one is euse: "euse -i" does exactly what you asked for.
And, though not for this exact task, equery is also useful.
They're both from app-portage/gentoolkit.
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