Commit 193fd3b
committed
kargs: correctly split kernel command-line string with quoted arguments
Splitting the kernel command-line on whitespace breaks quoted arguments,
e.g., "dyndbg=\"file drivers/base/firmware_loader/main.c +fmp\"".
Use the bootc_kernel_cmdline crate to parse and split kernel arguments,
which unbreaks deployment when a quoted kernel argument is present.
Closes: ostreedev/ostree#3544
Signed-off-by: Peter Colberg <[email protected]>1 parent 706ff86 commit 193fd3b
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
128 | 131 | | |
129 | 132 | | |
130 | 133 | | |
| |||
0 commit comments