Commit 4ec8a85
cli: Only allow some arguments if composefs-backend is true
Currently the cli accepts `--insecure`, `--bootloader`, `--uki-addon`
for ostree installs as well, which is not quite right as in the best
case scenario they won't do anything and in the worst case scenario they
might leave the install in undefined state
Also, update the bootloader docs to specify systemd-boot is only
available for composefs backend
Xref: #1989
Signed-off-by: Johan-Liebert1 <pragyanpoudyal41999@gmail.com>1 parent 90e535b commit 4ec8a85
2 files changed
Lines changed: 5 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
| 386 | + | |
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
| 397 | + | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
807 | | - | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | | - | |
817 | | - | |
818 | | - | |
819 | | - | |
820 | | - | |
821 | 807 | | |
822 | 808 | | |
823 | 809 | | |
| |||
1928 | 1914 | | |
1929 | 1915 | | |
1930 | 1916 | | |
1931 | | - | |
1932 | | - | |
1933 | 1917 | | |
1934 | 1918 | | |
1935 | 1919 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
0 commit comments