Skip to content

Commit 8f1570f

Browse files
Johnnynatorzdykstra
authored andcommitted
contrib/zbm-sign.pl: respect EFI.ImageDir
1 parent d7ebc84 commit 8f1570f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/zbm-sign.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
if ( !$EFI_Enabled ) {
4242
die "EFI images are disabled! Nothing to sign!";
4343
}
44+
my $ZBM = $EFI->{ImageDir};
4445

4546
my $Global = $config->{Global};
4647
my $ESP = $Global->{BootMountPoint};
4748

4849
my $SecureBoot = $config->{SecureBoot} or die "No config found, please edit /etc/zfsbootmenu/config.yaml";
49-
my $ZBM = "$ESP/EFI/zbm";
5050
my $KeyDir = $SecureBoot->{KeyDir};
5151
my $DeleteUnsigned = $SecureBoot->{DeleteUnsigned};
5252
my $SignBackups = $SecureBoot->{SignBackup};

0 commit comments

Comments
 (0)