Commit 04f5b87
committed
Allow references to parent properties in org.zfsbootmenu:commandline
Any reference to "%{parent}" in org.zfsbootmenu:commandline will be
replaced with the value of the same property on the parent filesystem
(with parent references above recursively expanded), allowing easy
specification of common options at a mutual parent of two BEs and
overrides or additions of individual options per-BE. The value of
%{parent} is always an empty string on a root filesystem.
This is not intended to be sophisticated, and %{parent} appearing within
other words will be replaced regardless. The assumption is that
%{parent} is unique enough and will not conflict with real KCL options,
so dumb global replacement is sufficient.1 parent 8886db3 commit 04f5b87
File tree
1 file changed
+66
-7
lines changed1 file changed
+66
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1148 | 1148 | | |
1149 | 1149 | | |
1150 | 1150 | | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
1151 | 1213 | | |
1152 | 1214 | | |
1153 | 1215 | | |
| |||
1172 | 1234 | | |
1173 | 1235 | | |
1174 | 1236 | | |
1175 | | - | |
1176 | | - | |
1177 | | - | |
1178 | | - | |
1179 | | - | |
1180 | | - | |
1181 | | - | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
1182 | 1241 | | |
1183 | 1242 | | |
1184 | 1243 | | |
| |||
0 commit comments