Commit 80c7e3d
committed
make-initrd: Reorder arguments and make variables in the command line
Some users use the make feature that allows to override makefile
variables via command line.
In this case, the order in which arguments and variables are specified
is important because the make-initrd utility analyzes its arguments.
Correct order:
make-initrd uki UKI_FEATURES=foo UKI_IMAGEFILE=/tmp/uki.efi
Bad order:
make-initrd UKI_FEATURES=foo UKI_IMAGEFILE=/tmp/uki.efi uki
To avoid such issues it is necessary to reorder the arguments and move
the variables after the normal arguments.
Signed-off-by: Alexey Gladkov <[email protected]>1 parent 6e09ec4 commit 80c7e3d
1 file changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
153 | 165 | | |
154 | 166 | | |
155 | 167 | | |
| |||
249 | 261 | | |
250 | 262 | | |
251 | 263 | | |
252 | | - | |
| 264 | + | |
0 commit comments