Commit 53cf2ff
committed
fix: Handle repeated set-options-for-source calls before reboot
When set-options-for-source is called multiple times before rebooting,
the second call needs to find the target source's previous value in
the staged deployment's bootconfig (not the booted BLS, since we
haven't rebooted). Without this, the old kargs from the first call
would not be removed from the options line, causing duplication.
Fix by explicitly checking the target source in the staged bootconfig
after iterating known sources from the booted BLS entry.
Addresses review feedback from PR #2114.
Assisted-by: OpenCode (Claude claude-opus-4-6)1 parent 2a07a3b commit 53cf2ff
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
205 | 217 | | |
206 | 218 | | |
207 | 219 | | |
| |||
0 commit comments