View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3809
|
Posted: Fri Oct 11, 2024 8:09 pm Post subject: command line EMERGE_DEFAULT_OPTS partial cancelling?[solved] |
|
|
EMERGE_DEFAULT_OPTS="... --tree ..." is set in /etc/portage/make.conf.
wiki
I feel quite dumb asking :
How to suspend the feature from command line when calling emerge?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Last edited by CaptainBlood on Fri Oct 11, 2024 9:00 pm; edited 1 time in total |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1865
|
Posted: Fri Oct 11, 2024 8:37 pm Post subject: |
|
|
Example.. emerge --tree=n Every emerge option, because it is parsed by python, can have --option=value to set or enable/disable anything. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3809
|
Posted: Fri Oct 11, 2024 8:46 pm Post subject: |
|
|
Nice, Couldn't get it from
Thks 4 ur attention, interest & support _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3809
|
Posted: Fri Oct 11, 2024 9:48 pm Post subject: |
|
|
Oops here: Code: | emerge --tree=n 2>&1|tail -1
emerge: error: argument --tree: ignored explicit argument 'n' |
Am I missing something?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1865
|
Posted: Fri Oct 11, 2024 10:17 pm Post subject: |
|
|
Looks like this is one exception to the rule. Most of the options can do this, but not tree for some reason. Certain options make sense not to be able to be reversible for the mode (like --sync).
Maybe this could be a feature request where it makes sense. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3809
|
Posted: Fri Oct 11, 2024 10:29 pm Post subject: |
|
|
Current one liner of a workaround: Code: | eval $(emerge --info|sed -E -n "s/^(.*)(--tree)(.*)$/\1\3/p") emerge --info|grep EMERGE_DEFAULT_OPTS |
I couldn't get it work without the eval
Almost first use case here
Any idea how to avoid it?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
|