View previous topic :: View next topic |
Author |
Message |
jryu n00b
Joined: 26 Jun 2014 Posts: 4
|
Posted: Thu Jun 26, 2014 6:31 pm Post subject: [SOLVED] Listing up all USE flags based on current setting |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Thu Jun 26, 2014 6:43 pm Post subject: |
|
|
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 |
|
|
jryu n00b
Joined: 26 Jun 2014 Posts: 4
|
Posted: Thu Jun 26, 2014 7:18 pm Post subject: |
|
|
oh, yes. tools like ufed and profuse are what I was looking for. |
|
Back to top |
|
|
EmaRsk Apprentice
Joined: 07 Sep 2004 Posts: 158 Location: Italy
|
Posted: Fri Jun 27, 2014 1:19 pm Post subject: |
|
|
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 |
|
|
|