Commit a6e02c0
committed
Only specify
When `--uefi` is passed to dracut without a `--uefi-stub` argument, it
looks first for a stub provided by systemd-boot and, if one isn't found,
for a stub provided by gummiboot. The gummiboot location agrees with our
default location at /usr/lib/gummiboot/linuxx64.efi.stub.
By dropping the `--uefi-stub` unless the `generate-zbm` configuration
explicitly specifies a value, `generate-zbm` should work out of the box
on systems that use gummiboot as well as its successor, systemd-boot. If
a user specifies a value in EFI.Stub, the `--uefi-stub` argument will be
passed with the configured value.
Fixes: #135.
Closes: #138.--uefi-stub when EFI.Stub is configured1 parent 893cbe9 commit a6e02c0
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
| 651 | + | |
| 652 | + | |
655 | 653 | | |
656 | 654 | | |
657 | | - | |
| 655 | + | |
658 | 656 | | |
659 | 657 | | |
660 | 658 | | |
| |||
0 commit comments