Allow override options being required in kernel configuration.. Otherwise modifying significantly config via extraConfig becomes practically impossible.
svn path=/nixpkgs/trunk/; revision=23171
This commit is contained in:
parent
dc831feb4b
commit
2d062ba772
|
@ -26,7 +26,7 @@ while (<ANSWERS>) {
|
|||
s/#.*//;
|
||||
if (/^\s*([A-Za-z0-9_]+)(\?)?\s+(\S+)\s*$/) {
|
||||
$answers{$1} = $3;
|
||||
$requiredAnswers{$1} = 1 unless defined $2;
|
||||
$requiredAnswers{$1} = !(defined $2);
|
||||
} elsif (!/^\s*$/) {
|
||||
die "invalid config line: $_";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue