diff options
| author | Masami Hiramatsu <[email protected]> | 2020-02-21 08:13:42 +0000 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2020-02-21 14:59:19 +0000 |
| commit | 4e4694d8729f7cd6381f6691e8f83e378fce3160 (patch) | |
| tree | b7c07e9ddd7681384ee330e6f8c64273c3ed52ec /tools/perf/scripts/python | |
| parent | bootconfig: Print array as multiple commands for legacy command line (diff) | |
| download | kernel-4e4694d8729f7cd6381f6691e8f83e378fce3160.tar.gz kernel-4e4694d8729f7cd6381f6691e8f83e378fce3160.zip | |
bootconfig: Prohibit re-defining value on same key
Currently, bootconfig adds a new value on the existing key to the tail of an
array. But this looks a bit confusing because an admin can easily rewrite
the original value in the same config file.
This rejects the following value re-definition.
key = value1
...
key = value2
You should rewrite value1 to value2 in this case.
Link: http://lkml.kernel.org/r/158227282199.12842.10110929876059658601.stgit@devnote2
Suggested-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Masami Hiramatsu <[email protected]>
[ Fixed spelling of arraies to arrays ]
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
