File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Documentation/admin-guide Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,16 @@ For example,::
7171 foo = bar, baz
7272 foo = qux # !ERROR! we can not re-define same key
7373
74+ If you want to update the value, you must use the override operator
75+ ``:= `` explicitly. For example::
76+
77+ foo = bar, baz
78+ foo := qux
79+
80+ then, the ``qux `` is assigned to ``foo `` key. This is useful for
81+ overriding the default value by adding (partial) custom bootconfigs
82+ without parsing the default bootconfig.
83+
7484If you want to append the value to existing key as an array member,
7585you can use ``+= `` operator. For example::
7686
@@ -84,6 +94,7 @@ For example, following config is NOT allowed.::
8494
8595 foo = value1
8696 foo.bar = value2 # !ERROR! subkey "bar" and value "value1" can NOT co-exist
97+ foo.bar := value2 # !ERROR! even with the override operator, this is NOT allowed.
8798
8899
89100Comments
You can’t perform that action at this time.
0 commit comments