Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409207 - linux-info.eclass should document WARNING_<CFG> variables
Summary: linux-info.eclass should document WARNING_<CFG> variables
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-21 17:32 UTC by Martin von Gagern
Modified: 2016-01-26 07:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2012-03-21 17:32:09 UTC
The check_extra_config function from linux-info.eclass currently has three different severety levels:

CONFIG_CHECK="CFG" with ERROR_CFG="foo" is a hard error, will die.
CONFIG_CHECK="~CFG" with ERROR_CFG="foo" is a "soft error", calls eerror.
CONFIG_CHECK="~CFG" with WARNING_CFG="foo" is a warning, calls ewarn.

The distinction between the latter two isn't anywhere in the documentation. There is a piece of documentation about ERROR_<CFG> variables, but none at all about WARNING_<CFG> variables.

This can lead to confusion, bug #407547 comment #3 being an example. So please fix the documentation, so it properly documents all possible behaviour.