Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887585 - sys-apps/portage feature request: allow specifying default etc-update and dispatch-conf file for auto resolution during emerge
Summary: sys-apps/portage feature request: allow specifying default etc-update and dis...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Reported: 2022-12-21 05:32 UTC by 2porcupines
Modified: 2022-12-30 22:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description 2porcupines 2022-12-21 05:32:38 UTC
Would like to have the ability to specify the default configuration file for etc-update or dispatch-conf during automated USE additions or removals.

For instance, if one were to emerge a new package, and some of the dependencies require alternative USE flags to the default, a message will appear requesting you update some configuration file

For example:

     The following USE changes are necessary to proceed:

     (see "package.use" in the portage (5) man page for more details)

     #required by x11-libs/pango-1.48.7-r1::gentoo

     >=media-libs/freetype-2.11.8-r1 harfbuzz

     Would you like to add these changes to your config files? [Yes/No]

If you type Yes, then etc-update or dispatch-conf, a file gets selected to apply these changes automatically to, and they may not be the file you'd like to have them in if you are hoping to keep them organized in a sort of loading zone (IE, creating a file in package.use/automatic where all files generated automatically go)

Current default may be reverse lexicographically (ZZautomatic would have priority)

Feature request would be to allow the specification of a file for these automated sessions, or a method of specifying the file during the process. /etc/dispatch-conf.conf may be a nice spot for a default file location. Or adding it as a menu item during the merging process