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,::
71
71
foo = bar, baz
72
72
foo = qux # !ERROR! we can not re-define same key
73
73
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
+
74
84
If you want to append the value to existing key as an array member,
75
85
you can use ``+= `` operator. For example::
76
86
@@ -84,6 +94,7 @@ For example, following config is NOT allowed.::
84
94
85
95
foo = value1
86
96
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.
87
98
88
99
89
100
Comments
You can’t perform that action at this time.
0 commit comments